home *** CD-ROM | disk | FTP | other *** search
/ El Mac 9 / El Mac 9.iso / Shareware / Demos / Igor Demo Pro / 1 PutContentsIn Igor Pro Folder / More Extensions / Data Acquisition / VDT Help < prev    next >
MacBinary  |  1996-01-15  |  31.8 KB  |  [WMT0/IGR0]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: VDT Help

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Oct 19 07:53:20 1992, modified Mon Jan 15 12:00:38 1996, creator 'IGR0', type 'WMT0', 31103 bytes "VDT Help" , at 0x79ff 1232 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[WMT0]
macFileCreator[IGR0]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 56 44 54 20 48 65 | 6c 70 00 00 00 00 00 00 |..VDT He|lp......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 57 4d 54 30 49 47 52 | 30 01 00 00 00 00 00 00 |.WMT0IGR|0.......|
|00000050| 00 00 00 00 00 79 7f 00 | 00 04 d0 a7 08 52 30 ad |.....y..|.....R0.|
|00000060| 20 38 b6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | 8......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e4 5a 00 00 |........|.....Z..|
|00000080| 00 01 00 00 00 00 00 28 | 00 04 01 4f 01 f8 00 28 |.......(|...O...(|
|00000090| 00 04 01 4f 01 f8 00 00 | 01 14 00 03 00 00 00 48 |...O....|.......H|
|000000a0| 00 48 00 00 00 00 02 da | 02 28 ff e1 ff e2 02 f9 |.H......|.(......|
|000000b0| 02 46 03 47 05 28 03 fc | 00 02 00 00 00 48 00 48 |.F.G.(..|.....H.H|
|000000c0| 00 00 00 00 02 da 02 28 | 00 01 00 00 00 64 00 00 |.......(|.....d..|
|000000d0| 00 01 00 01 01 01 00 00 | 00 01 27 0f 00 01 00 01 |........|..'.....|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 00 19 |........|........|
|000000f0| 01 90 00 00 00 00 00 40 | 00 00 00 00 00 00 00 00 |.......@|........|
|00000100| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 02 00 00 |........|........|
|00000120| 00 06 00 00 00 1e 00 00 | 00 07 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 02 00 00 | 00 06 00 00 00 1e 00 00 |........|........|
|00000140| 00 07 00 24 00 00 4e 6f | 72 6d 61 6c 00 00 00 00 |...$..No|rmal....|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 ff ff | ff ff 00 00 00 00 01 f8 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 0a 00 00 00 00 00 00 | 7f ff 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 01 00 01 00 de 00 00 | ff ff ff ff ff ff ff ff |........|........|
|000001d0| 00 00 00 3c 00 0c 00 00 | 00 00 00 00 00 00 00 00 |...<....|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 36 00 36 |........|.....6.6|
|00000200| 00 36 00 36 00 24 00 00 | 00 00 00 24 00 00 00 00 |.6.6.$..|...$....|
|00000210| 00 01 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 6e 7a 00 00 04 50 00 00 |........|nz...P..|
|00000230| 72 ca 00 00 06 32 00 00 | 02 5a 00 00 6c 20 00 00 |r....2..|.Z..l ..|
|00000240| 78 fc 00 00 00 00 00 00 | 00 00 00 00 78 fc 00 00 |x.......|....x...|
|00000250| 00 63 00 00 79 5f 00 00 | 00 20 00 00 79 7f 00 00 |.c..y_..|. ..y...|
|00000260| 00 00 00 00 79 7f 00 00 | 00 00 00 00 79 7f 00 00 |....y...|....y...|
|00000270| 00 00 00 00 79 7f 00 00 | 00 00 00 00 79 7f 00 00 |....y...|....y...|
|00000280| 00 00 00 00 79 7f 00 00 | 00 00 00 00 00 00 00 00 |....y...|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 06 00 24 00 09 |........|.....$..|
|000002e0| a5 09 56 44 54 0d 00 00 | ff ff 00 00 ff ff 00 00 |..VDT...|........|
|000002f0| ff ff 00 00 00 00 00 00 | 00 02 ff ff ff ff ff ff |........|........|
|00000300| 00 00 ff ff 00 00 00 00 | 00 00 01 04 00 00 00 08 |........|........|
|00000310| 56 44 54 20 69 73 20 61 | 6e 20 49 67 6f 72 20 65 |VDT is a|n Igor e|
|00000320| 78 74 65 6e 73 69 6f 6e | 20 74 68 61 74 20 69 6d |xtension| that im|
|00000330| 70 6c 65 6d 65 6e 74 73 | 20 61 20 64 75 6d 62 20 |plements| a dumb |
|00000340| 74 65 72 6d 69 6e 61 6c | 20 65 6d 75 6c 61 74 6f |terminal| emulato|
|00000350| 72 20 28 56 44 54 20 73 | 74 61 6e 64 73 20 66 6f |r (VDT s|tands fo|
|00000360| 72 20 d2 56 65 72 79 20 | 44 75 6d 62 20 54 65 72 |r .Very |Dumb Ter|
|00000370| 6d 69 6e 61 6c d3 29 2e | 20 56 44 54 20 61 6c 73 |minal.).| VDT als|
|00000380| 6f 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |o allows| you to |
|00000390| 63 6f 6e 74 72 6f 6c 20 | 73 65 72 69 61 6c 20 70 |control |serial p|
|000003a0| 6f 72 74 20 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ort comm|unicatio|
|000003b0| 6e 73 20 66 72 6f 6d 20 | 49 67 6f 72 20 70 72 6f |ns from |Igor pro|
|000003c0| 63 65 64 75 72 65 73 2e | 20 53 6f 75 72 63 65 20 |cedures.| Source |
|000003d0| 63 6f 64 65 20 66 6f 72 | 20 56 44 54 20 69 73 20 |code for| VDT is |
|000003e0| 73 75 70 70 6c 69 65 64 | 20 77 69 74 68 20 74 68 |supplied| with th|
|000003f0| 65 20 49 67 6f 72 20 45 | 78 74 65 72 6e 61 6c 20 |e Igor E|xternal |
|00000400| 4f 70 65 72 61 74 69 6f | 6e 73 20 54 6f 6f 6c 6b |Operatio|ns Toolk|
|00000410| 69 74 2e 0d 01 ae 00 00 | 00 08 56 44 54 20 61 64 |it......|..VDT ad|
|00000420| 64 73 20 61 20 73 75 62 | 6d 65 6e 75 20 74 6f 20 |ds a sub|menu to |
|00000430| 49 67 6f 72 d5 73 20 4d | 69 73 63 20 6d 65 6e 75 |Igor.s M|isc menu|
|00000440| 2e 20 49 74 20 61 64 64 | 73 20 61 20 66 75 6c 6c |. It add|s a full|
|00000450| 20 66 65 61 74 75 72 65 | 64 20 74 65 78 74 20 77 | feature|d text w|
|00000460| 69 6e 64 6f 77 20 77 69 | 74 68 20 73 63 72 6f 6c |indow wi|th scrol|
|00000470| 6c 69 6e 67 2c 20 66 69 | 6e 64 2c 20 72 65 70 6c |ling, fi|nd, repl|
|00000480| 61 63 65 2c 20 75 6e 64 | 6f 20 61 6e 64 20 6f 74 |ace, und|o and ot|
|00000490| 68 65 72 20 61 6d 65 6e | 69 74 69 65 73 2e 20 49 |her amen|ities. I|
|000004a0| 74 20 61 6c 73 6f 20 61 | 64 64 73 20 74 68 65 20 |t also a|dds the |
|000004b0| 56 44 54 2c 20 56 44 54 | 52 65 61 64 2c 20 56 44 |VDT, VDT|Read, VD|
|000004c0| 54 57 72 69 74 65 2c 20 | 56 44 54 52 65 61 64 57 |TWrite, |VDTReadW|
|000004d0| 61 76 65 2c 20 56 44 54 | 57 72 69 74 65 57 61 76 |ave, VDT|WriteWav|
|000004e0| 65 2c 20 56 44 54 52 65 | 61 64 42 69 6e 61 72 79 |e, VDTRe|adBinary|
|000004f0| 2c 20 56 44 54 57 72 69 | 74 65 42 69 6e 61 72 79 |, VDTWri|teBinary|
|00000500| 2c 20 56 44 54 52 65 61 | 64 42 69 6e 61 72 79 57 |, VDTRea|dBinaryW|
|00000510| 61 76 65 2c 20 56 44 54 | 57 72 69 74 65 42 69 6e |ave, VDT|WriteBin|
|00000520| 61 72 79 57 61 76 65 20 | 61 6e 64 20 6f 74 68 65 |aryWave |and othe|
|00000530| 72 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 74 6f 20 |r operat|ions to |
|00000540| 49 67 6f 72 2e 20 54 68 | 65 73 65 20 6f 70 65 72 |Igor. Th|ese oper|
|00000550| 61 74 69 6f 6e 73 20 61 | 6c 6c 6f 77 20 79 6f 75 |ations a|llow you|
|00000560| 20 74 6f 20 63 6f 6e 66 | 69 67 75 72 65 20 61 20 | to conf|igure a |
|00000570| 73 65 72 69 61 6c 20 70 | 6f 72 74 20 61 6e 64 20 |serial p|ort and |
|00000580| 74 6f 20 63 6f 6d 6d 75 | 6e 69 63 61 74 65 20 77 |to commu|nicate w|
|00000590| 69 74 68 20 69 74 20 66 | 72 6f 6d 20 74 68 65 20 |ith it f|rom the |
|000005a0| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 6f 72 20 |command |line or |
|000005b0| 66 72 6f 6d 20 61 6e 20 | 49 67 6f 72 20 70 72 6f |from an |Igor pro|
|000005c0| 63 65 64 75 72 65 2e 0d | 00 eb 00 00 00 08 54 6f |cedure..|......To|
|000005d0| 20 72 75 6e 20 56 44 54 | 2c 20 63 72 65 61 74 65 | run VDT|, create|
|000005e0| 20 61 6e 20 61 6c 69 61 | 73 20 66 6f 72 20 74 68 | an alia|s for th|
|000005f0| 65 20 56 44 54 20 66 69 | 6c 65 2c 20 70 75 74 20 |e VDT fi|le, put |
|00000600| 74 68 65 20 61 6c 69 61 | 73 20 69 6e 20 74 68 65 |the alia|s in the|
|00000610| 20 49 67 6f 72 20 45 78 | 74 65 6e 73 69 6f 6e 73 | Igor Ex|tensions|
|00000620| 20 66 6f 6c 64 65 72 20 | 61 6e 64 20 74 68 65 6e | folder |and then|
|00000630| 20 6c 61 75 6e 63 68 20 | 49 67 6f 72 2e 20 41 20 | launch |Igor. A |
|00000640| 56 44 54 20 69 74 65 6d | 20 77 69 6c 6c 20 62 65 |VDT item| will be|
|00000650| 20 61 64 64 65 64 20 74 | 6f 20 49 67 6f 72 d5 73 | added t|o Igor.s|
|00000660| 20 4d 69 73 63 20 6d 65 | 6e 75 2e 20 49 66 20 79 | Misc me|nu. If y|
|00000670| 6f 75 20 73 65 6c 65 63 | 74 20 74 68 69 73 20 69 |ou selec|t this i|
|00000680| 74 65 6d 2c 20 49 67 6f | 72 20 77 69 6c 6c 20 6f |tem, Igo|r will o|
|00000690| 70 65 6e 20 56 44 54 20 | 61 6e 64 20 79 6f 75 20 |pen VDT |and you |
|000006a0| 77 69 6c 6c 20 73 65 65 | 20 74 68 65 20 56 44 54 |will see| the VDT|
|000006b0| 20 77 69 6e 64 6f 77 2e | 0d 00 01 c8 00 00 00 08 | window.|........|
|000006c0| 4f 6e 63 65 20 6f 70 65 | 6e 2c 20 74 68 65 20 56 |Once ope|n, the V|
|000006d0| 44 54 20 69 74 65 6d 20 | 69 6e 20 74 68 65 20 4d |DT item |in the M|
|000006e0| 69 73 63 20 6d 65 6e 75 | 20 62 65 63 6f 6d 65 73 |isc menu| becomes|
|000006f0| 20 61 20 73 75 62 6d 65 | 6e 75 20 62 79 20 77 68 | a subme|nu by wh|
|00000700| 69 63 68 20 79 6f 75 20 | 63 61 6e 20 63 6f 6e 74 |ich you |can cont|
|00000710| 72 6f 6c 20 56 44 54 2e | 20 54 68 65 20 73 69 6d |rol VDT.| The sim|
|00000720| 70 6c 65 73 74 20 74 68 | 69 6e 67 20 79 6f 75 20 |plest th|ing you |
|00000730| 63 61 6e 20 64 6f 20 77 | 69 74 68 20 56 44 54 20 |can do w|ith VDT |
|00000740| 69 73 20 74 6f 20 75 73 | 65 20 69 74 20 61 73 20 |is to us|e it as |
|00000750| 61 20 64 75 6d 62 20 74 | 65 72 6d 69 6e 61 6c 2e |a dumb t|erminal.|
|00000760| 20 41 66 74 65 72 20 63 | 6f 6e 6e 65 63 74 69 6e | After c|onnectin|
|00000770| 67 20 79 6f 75 72 20 4d | 61 63 20 74 6f 20 61 6e |g your M|ac to an|
|00000780| 6f 74 68 65 72 20 73 65 | 72 69 61 6c 20 64 65 76 |other se|rial dev|
|00000790| 69 63 65 20 61 6e 64 20 | 6d 61 6b 69 6e 67 20 73 |ice and |making s|
|000007a0| 75 72 65 20 74 68 61 74 | 20 74 68 65 69 72 20 63 |ure that| their c|
|000007b0| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 70 61 |ommunica|tions pa|
|000007c0| 72 61 6d 65 74 65 72 73 | 20 61 72 65 20 63 6f 6d |rameters| are com|
|000007d0| 70 61 74 69 62 6c 65 2c | 20 79 6f 75 20 63 61 6e |patible,| you can|
|000007e0| 20 74 79 70 65 20 69 6e | 20 74 68 65 20 56 44 54 | type in| the VDT|
|000007f0| 20 77 69 6e 64 6f 77 2e | 20 59 6f 75 72 20 6b 65 | window.| Your ke|
|00000800| 79 73 74 72 6f 6b 65 73 | 20 77 69 6c 6c 20 62 65 |ystrokes| will be|
|00000810| 20 74 72 61 6e 73 6d 69 | 74 74 65 64 20 74 6f 20 | transmi|tted to |
|00000820| 74 68 65 20 6f 74 68 65 | 72 20 64 65 76 69 63 65 |the othe|r device|
|00000830| 2e 20 49 66 20 74 68 65 | 20 6f 74 68 65 72 20 64 |. If the| other d|
|00000840| 65 76 69 63 65 20 73 65 | 6e 64 73 20 63 68 61 72 |evice se|nds char|
|00000850| 61 63 74 65 72 73 20 74 | 6f 20 74 68 65 20 4d 61 |acters t|o the Ma|
|00000860| 63 2c 20 79 6f 75 20 77 | 69 6c 6c 20 73 65 65 20 |c, you w|ill see |
|00000870| 74 68 65 6d 20 69 6e 20 | 74 68 65 20 56 44 54 20 |them in |the VDT |
|00000880| 77 69 6e 64 6f 77 2e 0d | 00 7b 00 00 00 08 54 68 |window..|.{....Th|
|00000890| 65 20 6d 61 69 6e 20 75 | 73 65 20 66 6f 72 20 56 |e main u|se for V|
|000008a0| 44 54 20 69 73 20 74 6f | 20 63 6f 6d 6d 75 6e 69 |DT is to| communi|
|000008b0| 63 61 74 65 20 77 69 74 | 68 20 61 6e 20 69 6e 73 |cate wit|h an ins|
|000008c0| 74 72 75 6d 65 6e 74 20 | 6f 72 20 61 6e 6f 74 68 |trument |or anoth|
|000008d0| 65 72 20 63 6f 6d 70 75 | 74 65 72 2c 20 75 73 69 |er compu|ter, usi|
|000008e0| 6e 67 20 74 68 65 20 6f | 70 65 72 61 74 69 6f 6e |ng the o|peration|
|000008f0| 73 20 74 68 61 74 20 56 | 44 54 20 61 64 64 73 20 |s that V|DT adds |
|00000900| 74 6f 20 49 67 6f 72 2e | 0d 00 00 27 00 00 00 08 |to Igor.|...'....|
|00000910| 48 65 72 65 20 61 72 65 | 20 74 68 65 20 69 74 65 |Here are| the ite|
|00000920| 6d 73 20 69 6e 20 74 68 | 65 20 56 44 54 20 73 75 |ms in th|e VDT su|
|00000930| 62 6d 65 6e 75 2e 0d 0d | 00 12 00 00 00 01 54 65 |bmenu...|......Te|
|00000940| 72 6d 69 6e 61 6c 20 53 | 65 74 74 69 6e 67 73 0d |rminal S|ettings.|
|00000950| 00 82 00 00 00 08 54 68 | 65 20 54 65 72 6d 69 6e |......Th|e Termin|
|00000960| 61 6c 20 53 65 74 74 69 | 6e 67 73 20 69 74 65 6d |al Setti|ngs item|
|00000970| 20 62 72 69 6e 67 73 20 | 75 70 20 61 20 64 69 61 | brings |up a dia|
|00000980| 6c 6f 67 20 74 68 61 74 | 20 61 6c 6c 6f 77 73 20 |log that| allows |
|00000990| 79 6f 75 20 74 6f 20 73 | 65 74 20 63 6f 6d 6d 75 |you to s|et commu|
|000009a0| 6e 69 63 61 74 69 6f 6e | 73 20 70 61 72 61 6d 65 |nication|s parame|
|000009b0| 74 65 72 73 20 73 75 63 | 68 20 61 73 20 62 61 75 |ters suc|h as bau|
|000009c0| 64 20 72 61 74 65 2c 20 | 73 74 6f 70 20 62 69 74 |d rate, |stop bit|
|000009d0| 73 2c 20 65 74 63 2e 0d | 00 0a 00 00 00 01 53 65 |s, etc..|......Se|
|000009e0| 6e 64 20 46 69 6c 65 0d | 01 26 00 00 00 08 55 73 |nd File.|.&....Us|
|000009f0| 69 6e 67 20 74 68 65 20 | 53 65 6e 64 20 46 69 6c |ing the |Send Fil|
|00000a00| 65 20 69 74 65 6d 2c 20 | 79 6f 75 20 63 61 6e 20 |e item, |you can |
|00000a10| 69 6e 73 74 72 75 63 74 | 20 56 44 54 20 74 6f 20 |instruct| VDT to |
|00000a20| 73 65 6e 64 20 61 20 74 | 65 78 74 20 66 69 6c 65 |send a t|ext file|
|00000a30| 20 6f 75 74 20 74 68 65 | 20 73 65 72 69 61 6c 20 | out the| serial |
|00000a40| 70 6f 72 74 2e 20 56 44 | 54 20 77 69 6c 6c 20 73 |port. VD|T will s|
|00000a50| 65 6e 64 20 74 68 65 20 | 65 6e 74 69 72 65 20 66 |end the |entire f|
|00000a60| 69 6c 65 20 75 6e 6c 65 | 73 73 20 79 6f 75 20 73 |ile unle|ss you s|
|00000a70| 65 6c 65 63 74 20 53 74 | 6f 70 20 53 65 6e 64 69 |elect St|op Sendi|
|00000a80| 6e 67 20 46 69 6c 65 20 | 66 72 6f 6d 20 74 68 65 |ng File |from the|
|00000a90| 20 56 44 54 20 6d 65 6e | 75 20 62 65 66 6f 72 65 | VDT men|u before|
|00000aa0| 20 74 68 65 20 65 6e 74 | 69 72 65 20 66 69 6c 65 | the ent|ire file|
|00000ab0| 20 68 61 73 20 62 65 65 | 6e 20 73 65 6e 74 2e 20 | has bee|n sent. |
|00000ac0| 54 68 65 20 53 74 6f 70 | 20 53 65 6e 64 69 6e 67 |The Stop| Sending|
|00000ad0| 20 46 69 6c 65 20 69 74 | 65 6d 20 61 70 70 65 61 | File it|em appea|
|00000ae0| 72 73 20 6f 6e 6c 79 20 | 61 66 74 65 72 20 79 6f |rs only |after yo|
|00000af0| 75 d5 76 65 20 69 6e 73 | 74 72 75 63 74 65 64 20 |u.ve ins|tructed |
|00000b00| 56 44 54 20 74 6f 20 73 | 65 6e 64 20 61 20 66 69 |VDT to s|end a fi|
|00000b10| 6c 65 2e 0d 00 0d 00 00 | 00 01 52 65 63 65 69 76 |le......|..Receiv|
|00000b20| 65 20 46 69 6c 65 0d 00 | 01 5e 00 00 00 08 55 73 |e File..|.^....Us|
|00000b30| 69 6e 67 20 74 68 65 20 | 52 65 63 65 69 76 65 20 |ing the |Receive |
|00000b40| 46 69 6c 65 20 69 74 65 | 6d 2c 20 79 6f 75 20 63 |File ite|m, you c|
|00000b50| 61 6e 20 69 6e 73 74 72 | 75 63 74 20 56 44 54 20 |an instr|uct VDT |
|00000b60| 74 6f 20 72 65 63 65 69 | 76 65 20 61 20 74 65 78 |to recei|ve a tex|
|00000b70| 74 20 66 69 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 |t file f|rom the |
|00000b80| 73 65 72 69 61 6c 20 70 | 6f 72 74 2e 20 53 69 6e |serial p|ort. Sin|
|00000b90| 63 65 20 56 44 54 20 68 | 61 73 20 6e 6f 20 77 61 |ce VDT h|as no wa|
|00000ba0| 79 20 6f 66 20 6b 6e 6f | 77 69 6e 67 20 77 68 65 |y of kno|wing whe|
|00000bb0| 6e 20 69 74 20 68 61 73 | 20 72 65 63 65 69 76 65 |n it has| receive|
|00000bc0| 64 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 66 69 6c |d all of| the fil|
|00000bd0| 65 2c 20 79 6f 75 20 6d | 75 73 74 20 73 65 6c 65 |e, you m|ust sele|
|00000be0| 63 74 20 53 74 6f 70 20 | 52 65 63 65 69 76 69 6e |ct Stop |Receivin|
|00000bf0| 67 20 46 69 6c 65 20 66 | 72 6f 6d 20 74 68 65 20 |g File f|rom the |
|00000c00| 56 44 54 20 6d 65 6e 75 | 20 77 68 65 6e 20 74 68 |VDT menu| when th|
|00000c10| 65 20 65 6e 74 69 72 65 | 20 66 69 6c 65 20 68 61 |e entire| file ha|
|00000c20| 73 20 62 65 65 6e 20 74 | 72 61 6e 73 66 65 72 65 |s been t|ransfere|
|00000c30| 64 2e 20 54 68 65 20 53 | 74 6f 70 20 52 65 63 65 |d. The S|top Rece|
|00000c40| 69 76 69 6e 67 20 46 69 | 6c 65 20 69 74 65 6d 20 |iving Fi|le item |
|00000c50| 61 70 70 65 61 72 73 20 | 6f 6e 6c 79 20 61 66 74 |appears |only aft|
|00000c60| 65 72 20 79 6f 75 d5 76 | 65 20 69 6e 73 74 72 75 |er you.v|e instru|
|00000c70| 63 74 65 64 20 56 44 54 | 20 74 6f 20 72 65 63 65 |cted VDT| to rece|
|00000c80| 69 76 65 20 61 20 66 69 | 6c 65 2e 0d 00 0e 00 00 |ive a fi|le......|
|00000c90| 00 01 53 65 6e 64 20 56 | 44 54 20 54 65 78 74 0d |..Send V|DT Text.|
|00000ca0| 01 85 00 00 00 08 54 68 | 65 20 6e 65 78 74 20 69 |......Th|e next i|
|00000cb0| 74 65 6d 20 73 61 79 73 | 20 65 69 74 68 65 72 20 |tem says| either |
|00000cc0| 53 65 6e 64 20 56 44 54 | 20 54 65 78 74 20 6f 72 |Send VDT| Text or|
|00000cd0| 20 53 65 6e 64 20 53 65 | 6c 65 63 74 65 64 20 54 | Send Se|lected T|
|00000ce0| 65 78 74 2c 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |ext, dep|ending o|
|00000cf0| 6e 20 77 68 65 74 68 65 | 72 20 74 68 65 72 65 20 |n whethe|r there |
|00000d00| 69 73 20 74 65 78 74 20 | 73 65 6c 65 63 74 65 64 |is text |selected|
|00000d10| 20 69 6e 20 74 68 65 20 | 56 44 54 20 77 69 6e 64 | in the |VDT wind|
|00000d20| 6f 77 2e 20 49 74 20 73 | 65 6e 64 73 20 74 65 78 |ow. It s|ends tex|
|00000d30| 74 20 66 72 6f 6d 20 74 | 68 65 20 56 44 54 20 77 |t from t|he VDT w|
|00000d40| 69 6e 64 6f 77 20 74 6f | 20 74 68 65 20 73 65 72 |indow to| the ser|
|00000d50| 69 61 6c 20 70 6f 72 74 | 2e 20 56 44 54 20 77 69 |ial port|. VDT wi|
|00000d60| 6c 6c 20 73 65 6e 64 20 | 74 68 65 20 61 70 70 72 |ll send |the appr|
|00000d70| 6f 70 72 69 61 74 65 20 | 74 65 78 74 20 75 6e 6c |opriate |text unl|
|00000d80| 65 73 73 20 79 6f 75 20 | 73 65 6c 65 63 74 20 53 |ess you |select S|
|00000d90| 74 6f 70 20 53 65 6e 64 | 69 6e 67 20 54 65 78 74 |top Send|ing Text|
|00000da0| 20 66 72 6f 6d 20 74 68 | 65 20 56 44 54 20 6d 65 | from th|e VDT me|
|00000db0| 6e 75 20 62 65 66 6f 72 | 65 20 74 68 65 20 65 6e |nu befor|e the en|
|00000dc0| 74 69 72 65 20 74 65 78 | 74 20 68 61 73 20 62 65 |tire tex|t has be|
|00000dd0| 65 6e 20 73 65 6e 74 2e | 20 54 68 65 20 53 74 6f |en sent.| The Sto|
|00000de0| 70 20 53 65 6e 64 69 6e | 67 20 54 65 78 74 20 69 |p Sendin|g Text i|
|00000df0| 74 65 6d 20 61 70 70 65 | 61 72 73 20 6f 6e 6c 79 |tem appe|ars only|
|00000e00| 20 61 66 74 65 72 20 79 | 6f 75 d5 76 65 20 69 6e | after y|ou.ve in|
|00000e10| 73 74 72 75 63 74 65 64 | 20 56 44 54 20 74 6f 20 |structed| VDT to |
|00000e20| 73 65 6e 64 20 74 65 78 | 74 2e 0d 00 00 11 00 00 |send tex|t.......|
|00000e30| 00 01 4f 6e 20 4c 69 6e | 65 2f 4f 66 66 20 4c 69 |..On Lin|e/Off Li|
|00000e40| 6e 65 0d 00 01 3f 00 00 | 00 08 54 68 65 20 4f 6e |ne...?..|..The On|
|00000e50| 20 4c 69 6e 65 20 61 6e | 64 20 4f 66 66 20 4c 69 | Line an|d Off Li|
|00000e60| 6e 65 20 69 74 65 6d 73 | 20 64 65 74 65 72 6d 69 |ne items| determi|
|00000e70| 6e 65 20 77 68 65 74 68 | 65 72 20 56 44 54 20 69 |ne wheth|er VDT i|
|00000e80| 73 20 6f 6e 20 6f 72 20 | 6f 66 66 20 6c 69 6e 65 |s on or |off line|
|00000e90| 2e 20 54 68 65 73 65 20 | 74 65 72 6d 73 20 70 65 |. These |terms pe|
|00000ea0| 72 74 61 69 6e 20 6f 6e | 6c 79 20 74 6f 20 77 68 |rtain on|ly to wh|
|00000eb0| 61 74 20 6f 63 63 75 72 | 73 20 69 6e 20 74 68 65 |at occur|s in the|
|00000ec0| 20 56 44 54 20 77 69 6e | 64 6f 77 20 77 68 65 6e | VDT win|dow when|
|00000ed0| 20 65 69 74 68 65 72 20 | 79 6f 75 20 74 79 70 65 | either |you type|
|00000ee0| 20 6f 72 20 74 68 65 20 | 6f 74 68 65 72 20 64 65 | or the |other de|
|00000ef0| 76 69 63 65 20 73 65 6e | 64 73 20 63 68 61 72 61 |vice sen|ds chara|
|00000f00| 63 74 65 72 73 20 74 6f | 20 74 68 65 20 4d 61 63 |cters to| the Mac|
|00000f10| 2e 20 54 68 65 79 20 64 | 6f 20 6e 6f 74 20 61 66 |. They d|o not af|
|00000f20| 66 65 63 74 20 6f 74 68 | 65 72 20 6f 70 65 72 61 |fect oth|er opera|
|00000f30| 74 69 6f 6e 73 20 73 75 | 63 68 20 61 73 20 73 65 |tions su|ch as se|
|00000f40| 6e 64 69 6e 67 20 6f 72 | 20 72 65 63 65 69 76 69 |nding or| receivi|
|00000f50| 6e 67 20 66 69 6c 65 73 | 20 6f 72 20 74 68 65 20 |ng files| or the |
|00000f60| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 6f 70 65 |command |line ope|
|00000f70| 72 61 74 69 6f 6e 73 20 | 64 65 73 63 72 69 62 65 |rations |describe|
|00000f80| 64 20 62 65 6c 6f 77 2e | 0d 0d 00 db 00 00 00 08 |d below.|........|
|00000f90| 49 66 20 56 44 54 20 69 | 73 20 6f 6e 20 6c 69 6e |If VDT i|s on lin|
|00000fa0| 65 20 61 6e 64 20 79 6f | 75 20 74 79 70 65 20 69 |e and yo|u type i|
|00000fb0| 6e 20 74 68 65 20 56 44 | 54 20 77 69 6e 64 6f 77 |n the VD|T window|
|00000fc0| 2c 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 |, the ch|aracters|
|00000fd0| 20 79 6f 75 20 74 79 70 | 65 20 61 72 65 20 65 6e | you typ|e are en|
|00000fe0| 74 65 72 65 64 20 69 6e | 20 74 68 65 20 77 69 6e |tered in| the win|
|00000ff0| 64 6f 77 20 41 4e 44 20 | 74 72 61 6e 73 6d 69 74 |dow AND |transmit|
|00001000| 74 65 64 20 74 6f 20 74 | 68 65 20 73 65 72 69 61 |ted to t|he seria|
|00001010| 6c 20 70 6f 72 74 2e 20 | 43 68 61 72 61 63 74 65 |l port. |Characte|
|00001020| 72 73 20 74 72 61 6e 73 | 6d 69 74 74 65 64 20 74 |rs trans|mitted t|
|00001030| 6f 20 74 68 65 20 4d 61 | 63 20 62 79 20 74 68 65 |o the Ma|c by the|
|00001040| 20 6f 74 68 65 72 20 64 | 65 76 69 63 65 20 61 72 | other d|evice ar|
|00001050| 65 20 70 75 74 20 69 6e | 74 6f 20 74 68 65 20 56 |e put in|to the V|
|00001060| 44 54 20 77 69 6e 64 6f | 77 2e 0d 00 01 02 00 00 |DT windo|w.......|
|00001070| 00 08 49 66 20 56 44 54 | 20 69 73 20 6f 66 66 20 |..If VDT| is off |
|00001080| 6c 69 6e 65 20 61 6e 64 | 20 79 6f 75 20 74 79 70 |line and| you typ|
|00001090| 65 20 69 6e 20 74 68 65 | 20 56 44 54 20 77 69 6e |e in the| VDT win|
|000010a0| 64 6f 77 2c 20 74 68 65 | 20 63 68 61 72 61 63 74 |dow, the| charact|
|000010b0| 65 72 73 20 79 6f 75 20 | 74 79 70 65 20 61 72 65 |ers you |type are|
|000010c0| 20 65 6e 74 65 72 65 64 | 20 69 6e 20 74 68 65 20 | entered| in the |
|000010d0| 77 69 6e 64 6f 77 20 62 | 75 74 20 4e 4f 54 20 74 |window b|ut NOT t|
|000010e0| 72 61 6e 73 6d 69 74 74 | 65 64 20 74 6f 20 74 68 |ransmitt|ed to th|
|000010f0| 65 20 73 65 72 69 61 6c | 20 70 6f 72 74 2e 20 43 |e serial| port. C|
|00001100| 68 61 72 61 63 74 65 72 | 73 20 74 72 61 6e 73 6d |haracter|s transm|
|00001110| 69 74 74 65 64 20 74 6f | 20 74 68 65 20 4d 61 63 |itted to| the Mac|
|00001120| 20 62 79 20 74 68 65 20 | 6f 74 68 65 72 20 64 65 | by the |other de|
|00001130| 76 69 63 65 20 61 72 65 | 20 73 74 6f 72 65 64 20 |vice are| stored |
|00001140| 69 6e 20 56 44 54 d5 73 | 20 69 6e 70 75 74 20 62 |in VDT.s| input b|
|00001150| 75 66 66 65 72 2c 20 6e | 6f 74 20 70 75 74 20 69 |uffer, n|ot put i|
|00001160| 6e 74 6f 20 74 68 65 20 | 56 44 54 20 77 69 6e 64 |nto the |VDT wind|
|00001170| 6f 77 2e 0d 01 15 00 00 | 00 08 59 6f 75 20 73 68 |ow......|..You sh|
|00001180| 6f 75 6c 64 20 62 65 20 | 6f 6e 20 6c 69 6e 65 20 |ould be |on line |
|00001190| 77 68 65 6e 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |when you| want to|
|000011a0| 20 75 73 65 20 56 44 54 | 20 61 73 20 61 20 64 75 | use VDT| as a du|
|000011b0| 6d 62 20 74 65 72 6d 69 | 6e 61 6c 20 61 6e 64 20 |mb termi|nal and |
|000011c0| 6f 66 66 20 6c 69 6e 65 | 20 77 68 65 6e 20 79 6f |off line| when yo|
|000011d0| 75 20 75 73 65 20 74 68 | 65 20 63 6f 6d 6d 61 6e |u use th|e comman|
|000011e0| 64 20 6c 69 6e 65 20 6f | 70 65 72 61 74 69 6f 6e |d line o|peration|
|000011f0| 73 20 66 6f 72 20 73 65 | 6e 64 69 6e 67 20 61 6e |s for se|nding an|
|00001200| 64 20 72 65 63 65 69 76 | 69 6e 67 20 64 61 74 61 |d receiv|ing data|
|00001210| 20 64 65 73 63 72 69 62 | 65 64 20 62 65 6c 6f 77 | describ|ed below|
|00001220| 2e 20 49 66 20 79 6f 75 | 20 69 6e 76 6f 6b 65 20 |. If you| invoke |
|00001230| 74 68 65 73 65 20 6f 70 | 65 72 61 74 69 6f 6e 73 |these op|erations|
|00001240| 2c 20 56 44 54 20 61 75 | 74 6f 6d 61 74 69 63 61 |, VDT au|tomatica|
|00001250| 6c 6c 79 20 73 65 74 73 | 20 69 74 73 65 6c 66 20 |lly sets| itself |
|00001260| 74 6f 20 6f 66 66 20 6c | 69 6e 65 20 74 6f 20 6d |to off l|ine to m|
|00001270| 61 6b 65 20 73 75 72 65 | 20 74 68 65 72 65 20 69 |ake sure| there i|
|00001280| 73 20 6e 6f 20 63 6f 6e | 66 6c 69 63 74 2e 0d 00 |s no con|flict...|
|00001290| 00 09 00 00 40 01 51 75 | 69 74 20 56 44 54 0d 00 |....@.Qu|it VDT..|
|000012a0| 00 3d 00 00 00 08 54 68 | 65 20 6c 61 73 74 20 69 |.=....Th|e last i|
|000012b0| 74 65 6d 20 69 6e 20 74 | 68 65 20 56 44 54 20 6d |tem in t|he VDT m|
|000012c0| 65 6e 75 2c 20 51 75 69 | 74 20 56 44 54 2c 20 63 |enu, Qui|t VDT, c|
|000012d0| 6c 6f 73 65 73 20 74 68 | 65 20 56 44 54 20 58 4f |loses th|e VDT XO|
|000012e0| 50 2e 0d 00 00 1b 00 00 | 40 01 54 68 65 20 4d 61 |P.......|@.The Ma|
|000012f0| 63 69 6e 74 6f 73 68 20 | 53 65 72 69 61 6c 20 50 |cintosh |Serial P|
|00001300| 6f 72 74 73 0d 00 01 34 | 00 00 00 08 4d 6f 73 74 |orts...4|....Most|
|00001310| 20 4d 61 63 69 6e 74 6f | 73 68 20 6d 6f 64 65 6c | Macinto|sh model|
|00001320| 73 20 68 61 76 65 20 61 | 20 70 72 69 6e 74 65 72 |s have a| printer|
|00001330| 20 70 6f 72 74 20 61 6e | 64 20 61 20 6d 6f 64 65 | port an|d a mode|
|00001340| 6d 20 70 6f 72 74 2e 20 | 49 6e 73 69 64 65 20 4d |m port. |Inside M|
|00001350| 61 63 69 6e 74 6f 73 68 | 20 73 61 79 73 20 74 68 |acintosh| says th|
|00001360| 61 74 20 74 68 65 20 70 | 72 69 6e 74 65 72 20 70 |at the p|rinter p|
|00001370| 6f 72 74 20 69 73 20 6e | 6f 74 20 73 75 69 74 61 |ort is n|ot suita|
|00001380| 62 6c 65 20 66 6f 72 20 | 74 77 6f 2d 77 61 79 20 |ble for |two-way |
|00001390| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 61 |communic|ations a|
|000013a0| 62 6f 76 65 20 33 30 30 | 20 62 61 75 64 2e 20 41 |bove 300| baud. A|
|000013b0| 6c 73 6f 2c 20 74 68 65 | 20 70 72 69 6e 74 65 72 |lso, the| printer|
|000013c0| 20 70 6f 72 74 20 69 73 | 20 67 65 6e 65 72 61 6c | port is| general|
|000013d0| 6c 79 20 75 73 65 64 20 | 74 6f 20 63 6f 6e 6e 65 |ly used |to conne|
|000013e0| 63 74 20 74 6f 20 61 20 | 4c 6f 63 61 6c 54 61 6c |ct to a |LocalTal|
|000013f0| 6b 20 6e 65 74 77 6f 72 | 6b 2e 20 54 68 75 73 2c |k networ|k. Thus,|
|00001400| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 6e 6f 72 6d | you sho|uld norm|
|00001410| 61 6c 6c 79 20 75 73 65 | 20 74 68 65 20 6d 6f 64 |ally use| the mod|
|00001420| 65 6d 20 70 6f 72 74 20 | 66 6f 72 20 56 44 54 20 |em port |for VDT |
|00001430| 63 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 2e 0d |communic|ations..|
|00001440| 00 f3 00 00 00 08 53 6f | 6d 65 20 50 6f 77 65 72 |......So|me Power|
|00001450| 62 6f 6f 6b 20 4d 61 63 | 69 6e 74 6f 73 68 65 73 |book Mac|intoshes|
|00001460| 20 68 61 76 65 20 6f 6e | 6c 79 20 6f 6e 65 20 73 | have on|ly one s|
|00001470| 65 72 69 61 6c 20 70 6f | 72 74 2e 20 49 66 20 41 |erial po|rt. If A|
|00001480| 70 70 6c 65 54 61 6c 6b | 20 69 73 20 65 6e 61 62 |ppleTalk| is enab|
|00001490| 6c 65 64 2c 20 74 68 65 | 20 4d 61 63 20 4f 53 20 |led, the| Mac OS |
|000014a0| 77 69 6c 6c 20 72 65 73 | 65 72 76 65 20 74 68 61 |will res|erve tha|
|000014b0| 74 20 70 6f 72 74 20 66 | 6f 72 20 41 70 70 6c 65 |t port f|or Apple|
|000014c0| 54 61 6c 6b 20 61 6e 64 | 20 77 69 6c 6c 20 6e 6f |Talk and| will no|
|000014d0| 74 20 61 6c 6c 6f 77 20 | 56 44 54 20 74 6f 20 6f |t allow |VDT to o|
|000014e0| 70 65 6e 20 69 74 2e 20 | 54 68 75 73 2c 20 74 6f |pen it. |Thus, to|
|000014f0| 20 72 75 6e 20 56 44 54 | 2c 20 79 6f 75 20 6d 75 | run VDT|, you mu|
|00001500| 73 74 20 64 69 73 61 62 | 6c 65 20 41 70 70 6c 65 |st disab|le Apple|
|00001510| 54 61 6c 6b 2e 20 59 6f | 75 20 63 61 6e 20 64 6f |Talk. Yo|u can do|
|00001520| 20 74 68 69 73 20 75 73 | 69 6e 67 20 74 68 65 20 | this us|ing the |
|00001530| 43 68 6f 6f 73 65 72 2e | 0d 00 01 10 00 00 00 08 |Chooser.|........|
|00001540| 49 66 20 74 68 65 20 73 | 65 72 69 61 6c 20 70 6f |If the s|erial po|
|00001550| 72 74 20 74 68 61 74 20 | 79 6f 75 20 77 61 6e 74 |rt that |you want|
|00001560| 20 74 6f 20 75 73 65 20 | 69 73 20 69 6e 20 75 73 | to use |is in us|
|00001570| 65 20 62 79 20 61 6e 6f | 74 68 65 72 20 70 72 6f |e by ano|ther pro|
|00001580| 67 72 61 6d 2c 20 6f 72 | 20 69 66 20 74 68 65 20 |gram, or| if the |
|00001590| 6f 74 68 65 72 20 70 72 | 6f 67 72 61 6d 20 66 61 |other pr|ogram fa|
|000015a0| 69 6c 65 64 20 74 6f 20 | 63 6c 6f 73 65 20 74 68 |iled to |close th|
|000015b0| 65 20 70 6f 72 74 20 28 | 65 2e 67 2e 2c 20 69 66 |e port (|e.g., if|
|000015c0| 20 74 68 65 20 6f 74 68 | 65 72 20 70 72 6f 67 72 | the oth|er progr|
|000015d0| 61 6d 20 63 72 61 73 68 | 65 64 29 2c 20 74 68 65 |am crash|ed), the|
|000015e0| 20 4d 61 63 20 4f 53 20 | 77 69 6c 6c 20 6e 6f 74 | Mac OS |will not|
|000015f0| 20 6c 65 74 20 56 44 54 | 20 6f 70 65 6e 20 74 68 | let VDT| open th|
|00001600| 65 20 70 6f 72 74 2e 20 | 59 6f 75 20 77 69 6c 6c |e port. |You will|
|00001610| 20 6e 65 65 64 20 74 6f | 20 65 69 74 68 65 72 20 | need to| either |
|00001620| 71 75 69 74 20 74 68 65 | 20 6f 74 68 65 72 20 70 |quit the| other p|
|00001630| 72 6f 67 72 61 6d 20 6f | 72 20 72 65 73 74 61 72 |rogram o|r restar|
|00001640| 74 20 79 6f 75 72 20 6d | 61 63 68 69 6e 65 2e 0d |t your m|achine..|
|00001650| 00 81 00 00 00 08 48 65 | 72 65 20 69 73 20 74 68 |......He|re is th|
|00001660| 65 20 70 69 6e 6f 75 74 | 20 66 6f 72 20 74 68 65 |e pinout| for the|
|00001670| 20 4d 61 63 69 6e 74 6f | 73 68 20 44 49 4e 2d 38 | Macinto|sh DIN-8|
|00001680| 20 63 6f 6e 6e 65 63 74 | 6f 72 2e 20 54 68 65 20 | connect|or. The |
|00001690| 73 6f 75 72 63 65 20 66 | 6f 72 20 74 68 69 73 20 |source f|or this |
|000016a0| 70 69 6e 6f 75 74 20 69 | 73 20 4d 61 63 69 6e 74 |pinout i|s Macint|
|000016b0| 6f 73 68 20 74 65 63 68 | 6e 69 63 61 6c 20 6e 6f |osh tech|nical no|
|000016c0| 74 65 20 54 4e 2d 48 61 | 72 64 77 61 72 65 2c 20 |te TN-Ha|rdware, |
|000016d0| 48 57 2d 31 30 2e 0d 00 | 00 1b 00 12 00 15 50 69 |HW-10...|......Pi|
|000016e0| 6e 09 4e 61 6d 65 09 44 | 65 73 63 72 69 70 74 69 |n.Name.D|escripti|
|000016f0| 6f 6e 2f 4e 6f 74 65 73 | 0d 00 00 00 ff ff 00 02 |on/Notes|........|
|00001700| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 32 00 00 |........|.....2..|
|00001710| 00 15 31 09 48 53 4b 6f | 09 4f 75 74 70 75 74 20 |..1.HSKo|.Output |
|00001720| 48 61 6e 64 73 68 61 6b | 65 20 28 66 72 6f 6d 20 |Handshak|e (from |
|00001730| 5a 69 6c 6f 67 20 38 35 | 33 30 20 44 54 52 20 70 |Zilog 85|30 DTR p|
|00001740| 69 6e 29 0d 00 4b 00 00 | 00 15 32 09 48 53 4b 69 |in)..K..|..2.HSKi|
|00001750| 2f 45 78 74 65 72 6e 61 | 6c 20 43 6c 6f 63 6b 09 |/Externa|l Clock.|
|00001760| 49 6e 70 75 74 20 48 61 | 6e 64 73 68 61 6b 65 20 |Input Ha|ndshake |
|00001770| 28 43 54 53 29 20 6f 72 | 20 54 52 78 43 20 28 64 |(CTS) or| TRxC (d|
|00001780| 65 70 65 6e 64 73 20 6f | 6e 20 38 35 33 30 20 6d |epends o|n 8530 m|
|00001790| 6f 64 65 29 0d 00 00 1a | 00 00 00 15 33 09 54 78 |ode)....|....3.Tx|
|000017a0| 44 d0 09 54 72 61 6e 73 | 6d 69 74 20 44 61 74 61 |D..Trans|mit Data|
|000017b0| 20 6c 69 6e 65 0d 00 09 | 00 00 00 15 34 09 47 72 | line...|....4.Gr|
|000017c0| 6f 75 6e 64 0d 00 00 19 | 00 00 00 15 35 09 52 78 |ound....|....5.Rx|
|000017d0| 44 d0 09 52 65 63 65 69 | 76 65 20 44 61 74 61 20 |D..Recei|ve Data |
|000017e0| 6c 69 6e 65 0d 00 00 1a | 00 00 00 15 36 09 54 78 |line....|....6.Tx|
|000017f0| 44 2b 09 54 72 61 6e 73 | 6d 69 74 20 44 61 74 61 |D+.Trans|mit Data|
|00001800| 20 6c 69 6e 65 0d 00 10 | 00 00 00 15 37 09 4e 6f | line...|....7.No|
|00001810| 74 20 63 6f 6e 6e 65 63 | 74 65 64 0d 00 3c 00 00 |t connec|ted..<..|
|00001820| 00 15 38 09 52 78 44 2b | 09 52 65 63 65 69 76 65 |..8.RxD+|.Receive|
|00001830| 20 44 61 74 61 20 6c 69 | 6e 65 3b 20 67 72 6f 75 | Data li|ne; grou|
|00001840| 6e 64 20 74 68 69 73 20 | 6c 69 6e 65 20 74 6f 20 |nd this |line to |
|00001850| 65 6d 75 6c 61 74 65 20 | 52 53 32 33 32 0d 00 0c |emulate |RS232...|
|00001860| 00 00 00 01 48 61 6e 64 | 73 68 61 6b 69 6e 67 0d |....Hand|shaking.|
|00001870| 01 c3 00 00 00 08 54 68 | 65 20 70 75 72 70 6f 73 |......Th|e purpos|
|00001880| 65 20 6f 66 20 68 61 6e | 64 73 68 61 6b 69 6e 67 |e of han|dshaking|
|00001890| 20 69 73 20 74 6f 20 70 | 72 65 76 65 6e 74 20 74 | is to p|revent t|
|000018a0| 68 65 20 73 65 6e 64 65 | 72 20 66 72 6f 6d 20 73 |he sende|r from s|
|000018b0| 65 6e 64 69 6e 67 20 6d | 6f 72 65 20 62 79 74 65 |ending m|ore byte|
|000018c0| 73 20 74 68 61 6e 20 74 | 68 65 20 72 65 63 65 69 |s than t|he recei|
|000018d0| 76 65 72 20 63 61 6e 20 | 73 74 6f 72 65 2e 20 54 |ver can |store. T|
|000018e0| 6f 20 64 6f 20 74 68 69 | 73 2c 20 74 68 65 20 72 |o do thi|s, the r|
|000018f0| 65 63 65 69 76 65 72 20 | 6d 75 73 74 20 73 6f 6d |eceiver |must som|
|00001900| 65 68 6f 77 20 73 69 67 | 6e 61 6c 20 74 6f 20 74 |ehow sig|nal to t|
|00001910| 68 65 20 73 65 6e 64 65 | 72 20 74 6f 20 73 74 6f |he sende|r to sto|
|00001920| 70 20 74 72 61 6e 73 6d | 69 74 74 69 6e 67 20 62 |p transm|itting b|
|00001930| 79 74 65 73 20 77 68 65 | 6e 20 74 68 65 20 72 65 |ytes whe|n the re|
|00001940| 63 65 69 76 65 72 d5 73 | 20 62 75 66 66 65 72 20 |ceiver.s| buffer |
|00001950| 69 73 20 66 75 6c 6c 2e | 20 54 68 65 20 4d 61 63 |is full.| The Mac|
|00001960| 69 6e 74 6f 73 68 20 73 | 65 72 69 61 6c 20 64 72 |intosh s|erial dr|
|00001970| 69 76 65 72 20 73 75 70 | 70 6f 72 74 73 20 58 4f |iver sup|ports XO|
|00001980| 4e 2f 58 4f 46 46 20 68 | 61 6e 64 73 68 61 6b 69 |N/XOFF h|andshaki|
|00001990| 6e 67 2c 20 68 61 72 64 | 77 61 72 65 20 68 61 6e |ng, hard|ware han|
|000019a0| 64 73 68 61 6b 69 6e 67 | 20 6f 72 20 6e 6f 20 68 |dshaking| or no h|
|000019b0| 61 6e 64 73 68 61 6b 69 | 6e 67 2e 20 56 44 54 20 |andshaki|ng. VDT |
|000019c0| 70 72 65 73 65 6e 74 73 | 20 74 68 65 20 63 68 6f |presents| the cho|
|000019d0| 69 63 65 20 6f 66 20 68 | 61 6e 64 73 68 61 6b 69 |ice of h|andshaki|
|000019e0| 6e 67 20 74 68 72 6f 75 | 67 68 20 74 68 65 20 54 |ng throu|gh the T|
|000019f0| 65 72 6d 69 6e 61 6c 20 | 53 65 74 74 69 6e 67 73 |erminal |Settings|
|00001a00| 20 64 69 61 6c 6f 67 20 | 61 6e 64 20 61 6c 73 6f | dialog |and also|
|00001a10| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 56 44 54 | through| the VDT|
|00001a20| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 6f 70 | command| line op|
|00001a30| 65 72 61 74 69 6f 6e 2e | 0d 00 01 18 00 00 00 08 |eration.|........|
|00001a40| 49 6e 20 58 4f 4e 2f 58 | 4f 46 46 20 68 61 6e 64 |In XON/X|OFF hand|
|00001a50| 73 68 61 6b 69 6e 67 2c | 20 74 68 65 20 74 77 6f |shaking,| the two|
|00001a60| 20 64 65 76 69 63 65 73 | 20 61 67 72 65 65 20 74 | devices| agree t|
|00001a70| 68 61 74 20 61 20 73 70 | 65 63 69 61 6c 20 62 79 |hat a sp|ecial by|
|00001a80| 74 65 20 76 61 6c 75 65 | 20 77 69 6c 6c 20 68 61 |te value| will ha|
|00001a90| 76 65 20 74 68 65 20 6d | 65 61 6e 69 6e 67 20 d2 |ve the m|eaning .|
|00001aa0| 73 74 6f 70 20 73 65 6e | 64 69 6e 67 d3 20 28 58 |stop sen|ding. (X|
|00001ab0| 4f 46 46 29 20 61 6e 64 | 20 61 6e 6f 74 68 65 72 |OFF) and| another|
|00001ac0| 20 63 68 61 72 61 63 74 | 65 72 20 77 69 6c 6c 20 | charact|er will |
|00001ad0| 6d 65 61 6e 20 d2 72 65 | 73 75 6d 65 20 73 65 6e |mean .re|sume sen|
|00001ae0| 64 69 6e 67 d3 20 28 58 | 4f 4e 29 2e 20 56 44 54 |ding. (X|ON). VDT|
|00001af0| 20 75 73 65 73 20 74 68 | 65 20 73 74 61 6e 64 61 | uses th|e standa|
|00001b00| 72 64 20 58 4f 4e 2f 58 | 4f 46 46 20 76 61 6c 75 |rd XON/X|OFF valu|
|00001b10| 65 73 3a 20 64 65 63 69 | 6d 61 6c 20 31 37 20 28 |es: deci|mal 17 (|
|00001b20| 63 6f 6e 74 72 6f 6c 2d | 51 29 20 66 6f 72 20 58 |control-|Q) for X|
|00001b30| 4f 4e 20 61 6e 64 20 64 | 65 63 69 6d 61 6c 20 31 |ON and d|ecimal 1|
|00001b40| 39 20 28 63 6f 6e 74 72 | 6f 6c 2d 53 29 20 66 6f |9 (contr|ol-S) fo|
|00001b50| 72 20 58 4f 46 46 2e 0d | 01 df 00 48 00 08 4e 4f |r XOFF..|...H..NO|
|00001b60| 54 45 3a 20 49 66 20 79 | 6f 75 20 61 72 65 20 64 |TE: If y|ou are d|
|00001b70| 6f 69 6e 67 20 62 69 6e | 61 72 79 20 74 72 61 6e |oing bin|ary tran|
|00001b80| 73 66 65 72 73 2c 20 79 | 6f 75 20 63 61 6e 20 6e |sfers, y|ou can n|
|00001b90| 6f 74 20 75 73 65 20 58 | 4f 4e 2f 58 4f 46 46 20 |ot use X|ON/XOFF |
|00001ba0| 68 61 6e 64 73 68 61 6b | 69 6e 67 20 62 65 63 61 |handshak|ing beca|
|00001bb0| 75 73 65 20 74 68 65 20 | 62 69 6e 61 72 79 20 64 |use the |binary d|
|00001bc0| 61 74 61 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |ata may |contain |
|00001bd0| 74 68 65 73 65 20 76 61 | 6c 75 65 73 2e 20 41 6c |these va|lues. Al|
|00001be0| 73 6f 2c 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 |so, the |Macintos|
|00001bf0| 68 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |h implem|entation|
|00001c00| 20 6f 66 20 58 4f 4e 2f | 58 4f 46 46 20 68 61 73 | of XON/|XOFF has|
|00001c10| 20 62 65 65 6e 20 66 6c | 61 6b 65 79 20 6f 6e 20 | been fl|akey on |
|00001c20| 6d 61 63 68 69 6e 65 73 | 20 74 68 61 74 20 75 73 |machines| that us|
|00001c30| 65 20 44 4d 41 20 28 64 | 69 72 65 63 74 20 6d 65 |e DMA (d|irect me|
|00001c40| 6d 6f 72 79 20 61 63 63 | 65 73 73 29 20 66 6f 72 |mory acc|ess) for|
|00001c50| 20 73 65 72 69 61 6c 20 | 74 72 61 6e 73 66 65 72 | serial |transfer|
|00001c60| 73 2e 20 41 20 72 65 63 | 65 6e 74 20 65 78 74 65 |s. A rec|ent exte|
|00001c70| 6e 73 69 6f 6e 20 66 72 | 6f 6d 20 41 70 70 6c 65 |nsion fr|om Apple|
|00001c80| 2c 20 53 65 72 69 61 6c | 44 4d 41 20 32 2e 30 32 |, Serial|DMA 2.02|
|00001c90| 2c 20 69 73 20 73 75 70 | 70 6f 73 65 64 20 74 6f |, is sup|posed to|
|00001ca0| 20 66 69 78 20 74 68 69 | 73 20 62 75 74 20 77 65 | fix thi|s but we|
|00001cb0| 20 73 74 69 6c 6c 20 68 | 61 64 20 70 72 6f 62 6c | still h|ad probl|
|00001cc0| 65 6d 73 20 77 69 74 68 | 20 58 4f 4e 2f 58 4f 46 |ems with| XON/XOF|
|00001cd0| 46 2e 20 54 6f 20 75 73 | 65 20 58 4f 4e 2f 58 4f |F. To us|e XON/XO|
|00001ce0| 46 46 20 68 61 6e 64 73 | 68 61 6b 69 6e 67 2c 20 |FF hands|haking, |
|00001cf0| 63 6c 69 63 6b 20 58 4f | 4e 2f 58 4f 46 46 20 69 |click XO|N/XOFF i|
|00001d00| 6e 20 74 68 65 20 56 44 | 54 20 54 65 72 6d 69 6e |n the VD|T Termin|
|00001d10| 61 6c 20 53 65 74 74 69 | 6e 67 73 20 64 69 61 6c |al Setti|ngs dial|
|00001d20| 6f 67 20 6f 72 20 75 73 | 65 20 74 68 65 20 56 44 |og or us|e the VD|
|00001d30| 54 20 6f 70 65 72 61 74 | 69 6f 6e 2e 0d 0d 00 00 |T operat|ion.....|
|00001d40| ff ff ff ff ff ff 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00001d50| 00 04 ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00001d60| 00 00 01 24 ff ff ff ff | ff ff 00 00 00 01 00 00 |...$....|........|
|00001d70| 00 00 00 00 01 32 ff ff | ff ff ff ff 00 00 ff ff |.....2..|........|
|00001d80| 00 00 00 00 00 00 02 1d | 00 00 00 08 49 6e 20 68 |........|....In h|
|00001d90| 61 72 64 77 61 72 65 20 | 68 61 6e 64 73 68 61 6b |ardware |handshak|
|00001da0| 69 6e 67 2c 20 74 77 6f | 20 73 69 67 6e 61 6c 20 |ing, two| signal |
|00001db0| 6c 69 6e 65 73 20 61 72 | 65 20 75 73 65 64 2e 20 |lines ar|e used. |
|00001dc0| 43 54 53 20 6d 65 61 6e | 73 20 d2 63 6c 65 61 72 |CTS mean|s .clear|
|00001dd0| 20 74 6f 20 73 65 6e 64 | d3 2e 20 54 68 69 73 20 | to send|.. This |
|00001de0| 69 73 20 61 6e 20 69 6e | 70 75 74 20 74 6f 20 74 |is an in|put to t|
|00001df0| 68 65 20 73 65 6e 64 65 | 72 20 61 6e 64 20 74 65 |he sende|r and te|
|00001e00| 6c 6c 73 20 74 68 65 20 | 73 65 6e 64 65 72 20 77 |lls the |sender w|
|00001e10| 68 65 6e 20 69 74 20 68 | 61 73 20 70 65 72 6d 69 |hen it h|as permi|
|00001e20| 73 73 69 6f 6e 20 74 6f | 20 74 72 61 6e 73 6d 69 |ssion to| transmi|
|00001e30| 74 20 62 79 74 65 73 20 | 74 6f 20 74 68 65 20 72 |t bytes |to the r|
|00001e40| 65 63 65 69 76 65 72 2e | 20 54 68 65 20 43 54 53 |eceiver.| The CTS|
|00001e50| 20 6c 69 6e 65 20 66 6f | 72 20 65 61 63 68 20 64 | line fo|r each d|
|00001e60| 65 76 69 63 65 20 6d 75 | 73 74 20 62 65 20 63 6f |evice mu|st be co|
|00001e70| 6e 6e 65 63 74 65 64 20 | 74 6f 20 74 68 65 20 6f |nnected |to the o|
|00001e80| 74 68 65 72 20 64 65 76 | 69 63 65 d5 73 20 44 54 |ther dev|ice.s DT|
|00001e90| 52 20 6c 69 6e 65 2c 20 | 77 68 69 63 68 20 75 73 |R line, |which us|
|00001ea0| 75 61 6c 6c 79 20 72 65 | 71 75 69 72 65 73 20 61 |ually re|quires a|
|00001eb0| 20 73 70 65 63 69 61 6c | 20 63 61 62 6c 65 2e 20 | special| cable. |
|00001ec0| 44 54 52 20 6d 65 61 6e | 73 20 d2 64 61 74 61 20 |DTR mean|s .data |
|00001ed0| 74 65 72 6d 69 6e 61 6c | 20 72 65 61 64 79 d3 2e |terminal| ready..|
|00001ee0| 20 54 68 69 73 20 61 6e | 20 6f 75 74 70 75 74 20 | This an| output |
|00001ef0| 66 72 6f 6d 20 74 68 65 | 20 72 65 63 65 69 76 65 |from the| receive|
|00001f00| 72 2e 20 4f 6e 20 74 68 | 65 20 4d 61 63 20 44 49 |r. On th|e Mac DI|
|00001f10| 4e 2d 38 20 63 6f 6e 6e | 65 63 74 6f 72 2c 20 43 |N-8 conn|ector, C|
|00001f20| 54 53 20 69 73 20 6f 6e | 20 70 69 6e 20 32 20 61 |TS is on| pin 2 a|
|00001f30| 6e 64 20 44 54 52 20 69 | 73 20 6f 6e 20 70 69 6e |nd DTR i|s on pin|
|00001f40| 20 31 2e 20 54 6f 20 75 | 73 65 20 68 61 72 64 77 | 1. To u|se hardw|
|00001f50| 61 72 65 20 68 61 6e 64 | 73 68 61 6b 69 6e 67 2c |are hand|shaking,|
|00001f60| 20 63 6c 69 63 6b 20 43 | 54 53 20 69 6e 20 74 68 | click C|TS in th|
|00001f70| 65 20 56 44 54 20 54 65 | 72 6d 69 6e 61 6c 20 53 |e VDT Te|rminal S|
|00001f80| 65 74 74 69 6e 67 73 20 | 64 69 61 6c 6f 67 20 6f |ettings |dialog o|
|00001f90| 72 20 75 73 65 20 74 68 | 65 20 56 44 54 20 6f 70 |r use th|e VDT op|
|00001fa0| 65 72 61 74 69 6f 6e 2e | 0d 00 01 23 00 00 00 08 |eration.|...#....|
|00001fb0| 41 6e 6f 74 68 65 72 20 | 6f 70 74 69 6f 6e 20 69 |Another |option i|
|00001fc0| 73 20 74 6f 20 75 73 65 | 20 6e 6f 20 68 61 6e 64 |s to use| no hand|
|00001fd0| 73 68 61 6b 69 6e 67 20 | 61 74 20 61 6c 6c 20 28 |shaking |at all (|
|00001fe0| 63 6c 69 63 6b 20 4e 6f | 6e 65 20 69 6e 20 74 68 |click No|ne in th|
|00001ff0| 65 20 56 44 54 20 54 65 | 72 6d 69 6e 61 6c 20 53 |e VDT Te|rminal S|
|00002000| 65 74 74 69 6e 67 73 20 | 64 69 61 6c 6f 67 29 2e |ettings |dialog).|
|00002010| 20 49 6e 73 74 65 61 64 | 2c 20 75 73 65 20 61 20 | Instead|, use a |
|00002020| 6c 61 72 67 65 20 69 6e | 70 75 74 20 62 75 66 66 |large in|put buff|
|00002030| 65 72 2e 20 54 68 65 20 | 4d 61 63 69 6e 74 6f 73 |er. The |Macintos|
|00002040| 68 20 73 65 72 69 61 6c | 20 64 72 69 76 65 72 73 |h serial| drivers|
|00002050| 20 73 75 70 70 6f 72 74 | 73 20 61 6e 20 69 6e 70 | support|s an inp|
|00002060| 75 74 20 62 75 66 66 65 | 72 20 6f 66 20 75 70 20 |ut buffe|r of up |
|00002070| 74 6f 20 33 32 37 36 37 | 20 62 79 74 65 73 2e 20 |to 32767| bytes. |
|00002080| 59 6f 75 20 63 61 6e 20 | 73 70 65 63 69 66 79 20 |You can |specify |
|00002090| 74 68 69 73 20 69 6e 20 | 74 68 65 20 56 44 54 20 |this in |the VDT |
|000020a0| 54 65 72 6d 69 6e 61 6c | 20 53 65 74 74 69 6e 67 |Terminal| Setting|
|000020b0| 73 20 64 69 61 6c 6f 67 | 20 6f 72 20 76 69 61 20 |s dialog| or via |
|000020c0| 74 68 65 20 56 44 54 20 | 6f 70 65 72 61 74 69 6f |the VDT |operatio|
|000020d0| 6e 2e 0d 00 00 0f 00 00 | 40 01 52 65 76 69 73 69 |n.......|@.Revisi|
|000020e0| 6f 6e 20 4e 6f 74 65 73 | 0d 00 00 85 00 00 00 03 |on Notes|........|
|000020f0| 31 2e 32 32 09 46 69 78 | 65 64 20 61 20 63 72 61 |1.22.Fix|ed a cra|
|00002100| 73 68 20 74 68 61 74 20 | 63 6f 75 6c 64 20 6f 63 |sh that |could oc|
|00002110| 63 75 72 20 69 66 20 74 | 68 65 20 73 65 72 69 61 |cur if t|he seria|
|00002120| 6c 20 70 6f 72 74 20 63 | 6f 75 6c 64 20 6e 6f 74 |l port c|ould not|
|00002130| 20 62 65 20 6f 70 65 6e | 65 64 20 62 79 20 56 44 | be open|ed by VD|
|00002140| 54 20 62 65 63 61 75 73 | 65 20 69 74 20 77 61 73 |T becaus|e it was|
|00002150| 20 69 6e 20 75 73 65 20 | 28 62 79 20 41 70 70 6c | in use |(by Appl|
|00002160| 65 54 61 6c 6b 2c 20 66 | 6f 72 20 65 78 61 6d 70 |eTalk, f|or examp|
|00002170| 6c 65 29 2e 0d 00 00 9d | 00 00 00 03 09 4d 61 64 |le).....|.....Mad|
|00002180| 65 20 61 20 63 68 61 6e | 67 65 20 74 68 61 74 20 |e a chan|ge that |
|00002190| 73 68 6f 75 6c 64 20 6d | 61 6b 65 20 74 68 65 20 |should m|ake the |
|000021a0| 44 54 52 20 73 69 67 6e | 61 6c 20 77 6f 72 6b 20 |DTR sign|al work |
|000021b0| 77 68 65 6e 20 79 6f 75 | 20 73 65 6c 65 63 74 20 |when you| select |
|000021c0| 68 61 72 64 77 61 72 65 | 20 68 61 6e 64 73 68 61 |hardware| handsha|
|000021d0| 6b 69 6e 67 2e 20 50 72 | 65 76 69 6f 75 73 6c 79 |king. Pr|eviously|
|000021e0| 2c 20 74 68 65 20 4d 61 | 63 20 77 6f 75 6c 64 20 |, the Ma|c would |
|000021f0| 6e 6f 74 20 61 73 73 65 | 72 74 20 44 54 52 20 77 |not asse|rt DTR w|
|00002200| 68 65 6e 20 69 74 73 20 | 62 75 66 66 65 72 20 77 |hen its |buffer w|
|00002210| 61 73 20 66 75 6c 6c 2e | 0d 00 00 dc 00 00 00 03 |as full.|........|
|00002220| 09 4d 61 64 65 20 61 20 | 6e 75 6d 62 65 72 20 6f |.Made a |number o|
|00002230| 66 20 6f 74 68 65 72 20 | 6c 6f 77 2d 6c 65 76 65 |f other |low-leve|
|00002240| 6c 20 63 68 61 6e 67 65 | 73 20 69 6e 20 64 65 61 |l change|s in dea|
|00002250| 6c 69 6e 67 20 77 69 74 | 68 20 74 68 65 20 4d 61 |ling wit|h the Ma|
|00002260| 63 69 6e 74 6f 73 68 20 | 73 65 72 69 61 6c 20 64 |cintosh |serial d|
|00002270| 72 69 76 65 72 2e 20 54 | 68 65 73 65 20 63 68 61 |river. T|hese cha|
|00002280| 6e 67 65 73 20 61 72 65 | 20 72 65 63 6f 6d 6d 65 |nges are| recomme|
|00002290| 6e 64 65 64 20 69 6e 20 | 74 68 65 20 6c 61 73 74 |nded in |the last|
|000022a0| 65 73 74 20 49 6e 73 69 | 64 65 20 4d 61 63 69 6e |est Insi|de Macin|
|000022b0| 74 6f 73 68 20 2d 20 44 | 65 76 69 63 65 73 20 6d |tosh - D|evices m|
|000022c0| 61 6e 75 61 6c 2e 20 48 | 6f 77 65 76 65 72 2c 20 |anual. H|owever, |
|000022d0| 74 68 65 79 20 73 68 6f | 75 6c 64 20 62 65 20 74 |they sho|uld be t|
|000022e0| 72 61 6e 73 70 61 72 65 | 6e 74 20 74 6f 20 74 68 |ranspare|nt to th|
|000022f0| 65 20 56 44 54 20 75 73 | 65 72 2e 0d 00 56 00 00 |e VDT us|er...V..|
|00002300| 00 04 31 2e 33 30 09 55 | 70 64 61 74 65 64 20 66 |..1.30.U|pdated f|
|00002310| 6f 72 20 49 67 6f 72 20 | 50 72 6f 20 33 2e 30 2e |or Igor |Pro 3.0.|
|00002320| 20 53 75 70 70 6f 72 74 | 65 64 20 64 61 74 61 20 | Support|ed data |
|00002330| 66 6f 6c 64 65 72 73 20 | 69 6e 20 61 6c 6c 20 63 |folders |in all c|
|00002340| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 20 6f 70 65 72 |ommand l|ine oper|
|00002350| 61 74 69 6f 6e 73 2e 0d | 00 01 00 00 00 04 0d 00 |ations..|........|
|00002360| 00 17 00 00 00 01 56 44 | 54 20 4f 70 65 72 61 74 |......VD|T Operat|
|00002370| 69 6f 6e 73 20 53 75 6d | 6d 61 72 79 0d 00 01 2a |ions Sum|mary...*|
|00002380| 00 00 00 08 48 65 72 65 | 20 61 72 65 20 74 68 65 |....Here| are the|
|00002390| 20 63 6f 6d 6d 61 6e 64 | 20 6c 69 6e 65 20 6f 70 | command| line op|
|000023a0| 65 72 61 74 69 6f 6e 73 | 20 61 64 64 65 64 20 62 |erations| added b|
|000023b0| 79 20 56 44 54 2e 20 54 | 68 65 79 20 63 61 6e 20 |y VDT. T|hey can |
|000023c0| 62 65 20 69 6e 76 6f 6b | 65 64 20 66 72 6f 6d 20 |be invok|ed from |
|000023d0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|000023e0| 20 6f 72 20 66 72 6f 6d | 20 6d 61 63 72 6f 73 2c | or from| macros,|
|000023f0| 20 6a 75 73 74 20 6c 69 | 6b 65 20 62 75 69 6c 74 | just li|ke built|
|00002400| 2d 69 6e 20 49 67 6f 72 | 20 6f 70 65 72 61 74 69 |-in Igor| operati|
|00002410| 6f 6e 73 2e 20 54 6f 20 | 73 75 63 63 65 73 73 66 |ons. To |successf|
|00002420| 75 6c 6c 79 20 75 73 65 | 20 74 68 65 73 65 20 6f |ully use| these o|
|00002430| 70 65 72 61 74 69 6f 6e | 73 20 79 6f 75 20 6e 65 |peration|s you ne|
|00002440| 65 64 20 74 6f 20 6b 6e | 6f 77 20 61 20 62 69 74 |ed to kn|ow a bit|
|00002450| 20 61 62 6f 75 74 20 73 | 65 72 69 61 6c 20 63 6f | about s|erial co|
|00002460| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 73 20 61 6e 64 |mmunicat|ions and|
|00002470| 20 77 68 61 74 20 79 6f | 75 72 20 6f 74 68 65 72 | what yo|ur other|
|00002480| 20 64 65 76 69 63 65 20 | 65 78 70 65 63 74 73 20 | device |expects |
|00002490| 74 6f 20 72 65 63 65 69 | 76 65 20 61 6e 64 20 77 |to recei|ve and w|
|000024a0| 68 61 74 20 69 74 20 73 | 65 6e 64 73 2e 0d 00 ab |hat it s|ends....|
|000024b0| 00 24 00 0d 56 44 54 09 | 53 65 74 73 20 73 65 72 |.$..VDT.|Sets ser|
|000024c0| 69 61 6c 20 70 6f 72 74 | 20 70 61 72 61 6d 65 74 |ial port| paramet|
|000024d0| 65 72 73 20 61 6e 64 20 | 69 6e 70 75 74 20 62 75 |ers and |input bu|
|000024e0| 66 66 65 72 20 73 69 7a | 65 2e 20 55 73 65 20 74 |ffer siz|e. Use t|
|000024f0| 68 65 20 6b 69 6c 6c 69 | 6f 20 6b 65 79 77 6f 72 |he killi|o keywor|
|00002500| 64 20 74 6f 20 63 6c 65 | 61 72 20 74 68 65 20 69 |d to cle|ar the i|
|00002510| 6e 70 75 74 20 62 75 66 | 66 65 72 20 6f 66 20 61 |nput buf|fer of a|
|00002520| 6e 79 20 67 61 72 62 61 | 67 65 20 62 65 66 6f 72 |ny garba|ge befor|
|00002530| 65 20 73 74 61 72 74 69 | 6e 67 20 61 20 6e 65 77 |e starti|ng a new|
|00002540| 20 64 69 61 6c 6f 67 20 | 77 69 74 68 20 74 68 65 | dialog |with the|
|00002550| 20 6f 74 68 65 72 20 64 | 65 76 69 63 65 2e 0d 00 | other d|evice...|
|00002560| 00 00 ff ff 00 01 ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00002570| 00 00 00 03 ff ff ff ff | ff ff 00 00 ff ff 00 00 |........|........|
|00002580| 00 00 00 00 00 56 00 24 | 00 0d 56 44 54 52 65 61 |.....V.$|..VDTRea|
|00002590| 64 09 52 65 61 64 73 20 | 41 53 43 49 49 20 64 61 |d.Reads |ASCII da|
|000025a0| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 73 65 72 69 |ta from |the seri|
|000025b0| 61 6c 20 70 6f 72 74 20 | 69 6e 74 6f 20 49 67 6f |al port |into Igo|
|000025c0| 72 20 6e 75 6d 65 72 69 | 63 20 61 6e 64 20 73 74 |r numeri|c and st|
|000025d0| 72 69 6e 67 20 76 61 72 | 69 61 62 6c 65 73 2e 0d |ring var|iables..|
|000025e0| 00 00 ff ff 00 01 ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|000025f0| 00 00 00 07 ff ff ff ff | ff ff 00 00 ff ff 00 00 |........|........|
|00002600| 00 00 00 00 00 34 00 24 | 00 0d 56 44 54 57 72 69 |.....4.$|..VDTWri|
|00002610| 74 65 09 57 72 69 74 65 | 73 20 6e 75 6d 65 72 69 |te.Write|s numeri|
|00002620| 63 20 61 6e 64 20 73 74 | 72 69 6e 67 20 76 61 6c |c and st|ring val|
|00002630| 75 65 73 20 61 73 20 41 | 53 43 49 49 2e 0d 00 00 |ues as A|SCII....|
|00002640| ff ff 00 01 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002650| 00 08 ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00002660| 00 00 00 5d 00 24 00 0d | 56 44 54 52 65 61 64 42 |...].$..|VDTReadB|
|00002670| 69 6e 61 72 79 09 52 65 | 61 64 73 20 62 69 6e 61 |inary.Re|ads bina|
|00002680| 72 79 20 64 61 74 61 20 | 66 72 6f 6d 20 74 68 65 |ry data |from the|
|00002690| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 20 69 6e 74 | serial |port int|
|000026a0| 6f 20 49 67 6f 72 20 6e | 75 6d 65 72 69 63 20 61 |o Igor n|umeric a|
|000026b0| 6e 64 20 73 74 72 69 6e | 67 20 76 61 72 69 61 62 |nd strin|g variab|
|000026c0| 6c 65 73 2e 0d 00 00 00 | ff ff 00 01 ff ff 00 00 |les.....|........|
|000026d0| ff ff 00 00 00 00 00 00 | 00 0d ff ff ff ff ff ff |........|........|
|000026e0| 00 00 ff ff 00 00 00 00 | 00 00 00 3b 00 24 00 0d |........|...;.$..|
|000026f0| 56 44 54 57 72 69 74 65 | 42 69 6e 61 72 79 09 57 |VDTWrite|Binary.W|
|00002700| 72 69 74 65 73 20 6e 75 | 6d 65 72 69 63 20 61 6e |rites nu|meric an|
|00002710| 64 20 73 74 72 69 6e 67 | 20 76 61 6c 75 65 73 20 |d string| values |
|00002720| 61 73 20 62 69 6e 61 72 | 79 2e 0d 00 00 00 ff ff |as binar|y.......|
|00002730| 00 01 ff ff 00 00 ff ff | 00 00 00 00 00 00 00 0e |........|........|
|00002740| ff ff ff ff ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002750| 00 53 00 24 00 0d 56 44 | 54 52 65 61 64 57 61 76 |.S.$..VD|TReadWav|
|00002760| 65 09 52 65 61 64 73 20 | 41 53 43 49 49 20 64 61 |e.Reads |ASCII da|
|00002770| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 73 65 72 69 |ta from |the seri|
|00002780| 61 6c 20 70 6f 72 74 20 | 69 6e 74 6f 20 49 67 6f |al port |into Igo|
|00002790| 72 20 6e 75 6d 65 72 69 | 63 20 6f 72 20 74 65 78 |r numeri|c or tex|
|000027a0| 74 20 77 61 76 65 73 2e | 0d 00 00 00 ff ff 00 01 |t waves.|........|
|000027b0| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 0b ff ff |........|........|
|000027c0| ff ff ff ff 00 00 ff ff | 00 00 00 00 00 00 00 3a |........|.......:|
|000027d0| 00 24 00 0d 56 44 54 57 | 72 69 74 65 57 61 76 65 |.$..VDTW|riteWave|
|000027e0| 09 57 72 69 74 65 73 20 | 6e 75 6d 65 72 69 63 20 |.Writes |numeric |
|000027f0| 6f 72 20 74 65 78 74 20 | 77 61 76 65 20 76 61 6c |or text |wave val|
|00002800| 75 65 73 20 61 73 20 41 | 53 43 49 49 2e 0d 00 00 |ues as A|SCII....|
|00002810| ff ff 00 01 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002820| 00 0c ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00002830| 00 00 00 52 00 24 00 0d | 56 44 54 52 65 61 64 42 |...R.$..|VDTReadB|
|00002840| 69 6e 61 72 79 57 61 76 | 65 09 52 65 61 64 73 20 |inaryWav|e.Reads |
|00002850| 62 69 6e 61 72 79 20 64 | 61 74 61 20 66 72 6f 6d |binary d|ata from|
|00002860| 20 74 68 65 20 73 65 72 | 69 61 6c 20 70 6f 72 74 | the ser|ial port|
|00002870| 20 69 6e 74 6f 20 49 67 | 6f 72 20 6e 75 6d 65 72 | into Ig|or numer|
|00002880| 69 63 20 77 61 76 65 73 | 2e 0d 00 00 ff ff 00 01 |ic waves|........|
|00002890| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 11 ff ff |........|........|
|000028a0| ff ff ff ff 00 00 ff ff | 00 00 00 00 00 00 00 39 |........|.......9|
|000028b0| 00 24 00 0d 56 44 54 57 | 72 69 74 65 42 69 6e 61 |.$..VDTW|riteBina|
|000028c0| 72 79 57 61 76 65 09 57 | 72 69 74 65 73 20 6e 75 |ryWave.W|rites nu|
|000028d0| 6d 65 72 69 63 20 77 61 | 76 65 20 76 61 6c 75 65 |meric wa|ve value|
|000028e0| 73 20 61 73 20 62 69 6e | 61 72 79 2e 0d 00 00 00 |s as bin|ary.....|
|000028f0| ff ff 00 01 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002900| 00 12 ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00002910| 00 00 00 5a 00 24 00 0d | 56 44 54 52 65 61 64 48 |...Z.$..|VDTReadH|
|00002920| 65 78 09 52 65 61 64 73 | 20 41 53 43 49 49 20 68 |ex.Reads| ASCII h|
|00002930| 65 78 61 64 65 63 69 6d | 61 6c 20 64 61 74 61 20 |exadecim|al data |
|00002940| 66 72 6f 6d 20 74 68 65 | 20 73 65 72 69 61 6c 20 |from the| serial |
|00002950| 70 6f 72 74 20 69 6e 74 | 6f 20 49 67 6f 72 20 6e |port int|o Igor n|
|00002960| 75 6d 65 72 69 63 20 76 | 61 72 69 61 62 6c 65 73 |umeric v|ariables|
|00002970| 2e 0d 00 00 ff ff 00 01 | ff ff 00 00 ff ff 00 00 |........|........|
|00002980| 00 00 00 00 00 0a ff ff | ff ff ff ff 00 00 ff ff |........|........|
|00002990| 00 00 00 00 00 00 00 2f | 00 00 00 0d 56 44 54 57 |......./|....VDTW|
|000029a0| 72 69 74 65 48 65 78 09 | 54 68 69 73 20 6f 70 65 |riteHex.|This ope|
|000029b0| 72 61 74 69 6f 6e 20 69 | 73 20 6e 6f 74 20 69 6d |ration i|s not im|
|000029c0| 70 6c 65 6d 65 6e 74 65 | 64 2e 0d 00 00 5a 00 24 |plemente|d....Z.$|
|000029d0| 00 0d 56 44 54 52 65 61 | 64 48 65 78 57 61 76 65 |..VDTRea|dHexWave|
|000029e0| 09 52 65 61 64 73 20 41 | 53 43 49 49 20 68 65 78 |.Reads A|SCII hex|
|000029f0| 61 64 65 63 69 6d 61 6c | 20 64 61 74 61 20 66 72 |adecimal| data fr|
|00002a00| 6f 6d 20 74 68 65 20 73 | 65 72 69 61 6c 20 70 6f |om the s|erial po|
|00002a10| 72 74 20 69 6e 74 6f 20 | 49 67 6f 72 20 6e 75 6d |rt into |Igor num|
|00002a20| 65 72 69 63 20 77 61 76 | 65 73 2e 0d 00 00 ff ff |eric wav|es......|
|00002a30| 00 01 ff ff 00 00 ff ff | 00 00 00 00 00 00 00 0e |........|........|
|00002a40| ff ff ff ff ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00002a50| 00 41 00 24 00 0d 56 44 | 54 57 72 69 74 65 48 65 |.A.$..VD|TWriteHe|
|00002a60| 78 57 61 76 65 09 57 72 | 69 74 65 73 20 6e 75 6d |xWave.Wr|ites num|
|00002a70| 65 72 69 63 20 77 61 76 | 65 20 76 61 6c 75 65 73 |eric wav|e values|
|00002a80| 20 61 73 20 41 53 43 49 | 49 20 68 65 78 61 64 65 | as ASCI|I hexade|
|00002a90| 63 69 6d 61 6c 2e 0d 00 | 00 00 ff ff 00 01 ff ff |cimal...|........|
|00002aa0| 00 00 ff ff 00 00 00 00 | 00 00 00 0f ff ff ff ff |........|........|
|00002ab0| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 01 00 00 |........|........|
|00002ac0| 00 03 0d 00 00 6d 00 12 | 00 01 56 44 54 20 5b 62 |.....m..|..VDT [b|
|00002ad0| 61 75 64 3d 6e 2c 20 73 | 74 6f 70 62 69 74 73 3d |aud=n, s|topbits=|
|00002ae0| 6e 2c 20 64 61 74 61 62 | 69 74 73 3d 6e 2c 20 70 |n, datab|its=n, p|
|00002af0| 61 72 69 74 79 3d 6e 2c | 20 69 6e 3d 6e 2c 20 6f |arity=n,| in=n, o|
|00002b00| 75 74 3d 6e 2c 20 65 63 | 68 6f 3d 6e 2c 20 70 6f |ut=n, ec|ho=n, po|
|00002b10| 72 74 3d 6e 2c 20 62 75 | 66 66 65 72 3d 6e 2c 20 |rt=n, bu|ffer=n, |
|00002b20| 6c 69 6e 65 3d 6e 2c 20 | 6b 69 6c 6c 69 6f 2c 20 |line=n, |killio, |
|00002b30| 61 62 6f 72 74 5d 0d 00 | 00 03 ff ff 00 00 ff ff |abort]..|........|
|00002b40| 00 00 ff ff 00 00 00 00 | 00 00 00 3d 00 00 00 02 |........|...=....|
|00002b50| 43 6f 6e 74 72 6f 6c 73 | 20 73 65 72 69 61 6c 20 |Controls| serial |
|00002b60| 70 6f 72 74 20 68 61 72 | 64 77 61 72 65 20 61 6e |port har|dware an|
|00002b70| 64 20 56 44 54 20 69 6e | 70 75 74 2f 6f 75 74 70 |d VDT in|put/outp|
|00002b80| 75 74 20 73 65 74 74 69 | 6e 67 73 2e 0d 00 00 19 |ut setti|ngs.....|
|00002b90| 00 00 00 02 53 75 70 70 | 6c 69 65 64 20 62 79 20 |....Supp|lied by |
|00002ba0| 74 68 65 20 56 44 54 20 | 58 4f 50 2e 0d 00 00 0b |the VDT |XOP.....|
|00002bb0| 00 00 00 0a 50 61 72 61 | 6d 65 74 65 72 73 0d 00 |....Para|meters..|
|00002bc0| 00 40 00 00 00 03 62 61 | 75 64 3d 6e 09 73 65 74 |.@....ba|ud=n.set|
|00002bd0| 73 20 62 61 75 64 20 72 | 61 74 65 2e 20 6e 20 6d |s baud r|ate. n m|
|00002be0| 75 73 74 20 62 65 20 33 | 30 30 2c 20 36 30 30 20 |ust be 3|00, 600 |
|00002bf0| 2e 20 2e 20 2e 20 33 38 | 34 30 30 20 6f 72 20 35 |. . . 38|400 or 5|
|00002c00| 37 36 30 30 2e 0d 00 2a | 00 00 00 03 73 74 6f 70 |7600...*|....stop|
|00002c10| 62 69 74 73 3d 6e 09 6e | 3d 31 20 6f 72 20 32 20 |bits=n.n|=1 or 2 |
|00002c20| 66 6f 72 20 31 20 6f 72 | 20 32 20 73 74 6f 70 20 |for 1 or| 2 stop |
|00002c30| 62 69 74 73 2e 0d 00 29 | 00 00 00 03 64 61 74 61 |bits...)|....data|
|00002c40| 62 69 74 73 3d 6e 09 6e | 3d 37 20 6f 72 20 38 20 |bits=n.n|=7 or 8 |
|00002c50| 66 6f 72 20 37 20 6f 72 | 20 38 20 64 61 74 61 62 |for 7 or| 8 datab|
|00002c60| 69 74 73 2e 0d 00 00 41 | 00 00 00 03 70 61 72 69 |its....A|....pari|
|00002c70| 74 79 3d 6e 09 6e 3d 30 | 20 66 6f 72 20 6e 6f 20 |ty=n.n=0| for no |
|00002c80| 70 61 72 69 74 79 2c 20 | 31 20 66 6f 72 20 6f 64 |parity, |1 for od|
|00002c90| 64 20 70 61 72 69 74 79 | 2c 20 32 20 66 6f 72 20 |d parity|, 2 for |
|00002ca0| 65 76 65 6e 20 70 61 72 | 69 74 79 2e 0d 00 00 3c |even par|ity....<|
|00002cb0| 00 00 00 03 69 6e 3d 6e | 09 6e 3d 30 20 66 6f 72 |....in=n|.n=0 for|
|00002cc0| 20 6e 6f 20 69 6e 70 75 | 74 20 68 61 6e 64 73 68 | no inpu|t handsh|
|00002cd0| 61 6b 65 2c 20 31 20 66 | 6f 72 20 43 54 53 2c 20 |ake, 1 f|or CTS, |
|00002ce0| 32 20 66 6f 72 20 58 4f | 4e 2f 58 4f 46 46 2e 0d |2 for XO|N/XOFF..|
|00002cf0| 00 3e 00 00 00 03 6f 75 | 74 3d 6e 09 6e 3d 30 20 |.>....ou|t=n.n=0 |
|00002d00| 66 6f 72 20 6e 6f 20 6f | 75 74 70 75 74 20 68 61 |for no o|utput ha|
|00002d10| 6e 64 73 68 61 6b 65 2c | 20 31 20 66 6f 72 20 43 |ndshake,| 1 for C|
|00002d20| 54 53 2c 20 32 20 66 6f | 72 20 58 4f 4e 2f 58 4f |TS, 2 fo|r XON/XO|
|00002d30| 46 46 2e 0d 00 30 00 00 | 00 03 65 63 68 6f 3d 6e |FF...0..|..echo=n|
|00002d40| 09 6e 3d 30 20 66 6f 72 | 20 6e 6f 20 6c 6f 63 61 |.n=0 for| no loca|
|00002d50| 6c 20 65 63 68 6f 2c 20 | 31 20 66 6f 72 20 6c 6f |l echo, |1 for lo|
|00002d60| 63 61 6c 20 65 63 68 6f | 2e 0d 00 2f 00 00 00 03 |cal echo|.../....|
|00002d70| 70 6f 72 74 3d 6e 09 6e | 3d 30 20 66 6f 72 20 6d |port=n.n|=0 for m|
|00002d80| 6f 64 65 6d 20 70 6f 72 | 74 2c 20 31 20 66 6f 72 |odem por|t, 1 for|
|00002d90| 20 70 72 69 6e 74 65 72 | 20 70 6f 72 74 2e 0d 00 | printer| port...|
|00002da0| 00 3f 00 00 00 03 62 75 | 66 66 65 72 3d 6e 09 6e |.?....bu|ffer=n.n|
|00002db0| 3d 6e 75 6d 62 65 72 20 | 73 69 7a 65 20 6f 66 20 |=number |size of |
|00002dc0| 69 6e 70 75 74 20 62 75 | 66 66 65 72 20 69 6e 20 |input bu|ffer in |
|00002dd0| 62 79 74 65 73 20 28 33 | 32 20 74 6f 20 33 32 37 |bytes (3|2 to 327|
|00002de0| 36 37 29 2e 0d 00 00 3f | 00 00 00 03 6c 69 6e 65 |67)....?|....line|
|00002df0| 3d 6e 09 6e 3d 30 20 66 | 6f 72 20 6f 66 66 6c 69 |=n.n=0 f|or offli|
|00002e00| 6e 65 2c 20 6e 3d 31 20 | 66 6f 72 20 6f 6e 6c 69 |ne, n=1 |for onli|
|00002e10| 6e 65 20 28 73 65 65 20 | 64 69 73 63 75 73 73 69 |ne (see |discussi|
|00002e20| 6f 6e 20 62 65 6c 6f 77 | 29 2e 0d 00 00 35 00 00 |on below|)....5..|
|00002e30| 00 03 6b 69 6c 6c 69 6f | 09 68 61 6c 74 73 20 61 |..killio|.halts a|
|00002e40| 6e 79 20 70 65 6e 64 69 | 6e 67 20 49 4f 20 61 6e |ny pendi|ng IO an|
|00002e50| 64 20 63 6c 65 61 72 73 | 20 69 6e 70 75 74 20 62 |d clears| input b|
|00002e60| 75 66 66 65 72 2e 0d 00 | 00 28 00 00 00 03 61 62 |uffer...|.(....ab|
|00002e70| 6f 72 74 09 61 62 6f 72 | 74 73 20 56 44 54 20 6f |ort.abor|ts VDT o|
|00002e80| 70 65 72 61 74 69 6f 6e | 20 69 6e 20 70 72 6f 67 |peration| in prog|
|00002e90| 72 65 73 73 2e 0d 00 08 | 00 00 00 0a 44 65 74 61 |ress....|....Deta|
|00002ea0| 69 6c 73 0d 00 fc 00 00 | 00 02 4f 6e 6c 69 6e 65 |ils.....|..Online|
|00002eb0| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 63 68 61 72 | means t|hat char|
|00002ec0| 61 63 74 65 72 73 20 74 | 68 61 74 20 63 6f 6d 65 |acters t|hat come|
|00002ed0| 20 69 6e 74 6f 20 74 68 | 65 20 73 65 72 69 61 6c | into th|e serial|
|00002ee0| 20 69 6e 70 75 74 20 70 | 6f 72 74 20 61 72 65 20 | input p|ort are |
|00002ef0| 73 65 6e 74 20 74 6f 20 | 74 68 65 20 56 44 54 20 |sent to |the VDT |
|00002f00| 77 69 6e 64 6f 77 20 61 | 6e 64 20 63 68 61 72 61 |window a|nd chara|
|00002f10| 63 74 65 72 73 20 74 68 | 61 74 20 79 6f 75 20 74 |cters th|at you t|
|00002f20| 79 70 65 20 77 68 69 6c | 65 20 74 68 65 20 56 44 |ype whil|e the VD|
|00002f30| 54 20 77 69 6e 64 6f 77 | 20 69 73 20 61 63 74 69 |T window| is acti|
|00002f40| 76 65 20 61 72 65 20 73 | 65 6e 74 20 74 6f 20 74 |ve are s|ent to t|
|00002f50| 68 65 20 73 65 72 69 61 | 6c 20 6f 75 74 70 75 74 |he seria|l output|
|00002f60| 20 70 6f 72 74 2e 20 54 | 68 69 73 20 69 73 20 61 | port. T|his is a|
|00002f70| 70 70 72 6f 70 72 69 61 | 74 65 20 77 68 65 6e 20 |ppropria|te when |
|00002f80| 79 6f 75 20 61 72 65 20 | 75 73 69 6e 67 20 56 44 |you are |using VD|
|00002f90| 54 20 61 73 20 61 20 64 | 75 6d 62 20 74 65 72 6d |T as a d|umb term|
|00002fa0| 69 6e 61 6c 2e 0d 01 58 | 00 00 00 02 4f 66 66 6c |inal...X|....Offl|
|00002fb0| 69 6e 65 20 6d 65 61 6e | 73 20 74 68 61 74 20 63 |ine mean|s that c|
|00002fc0| 68 61 72 61 63 74 65 72 | 73 20 74 68 61 74 20 63 |haracter|s that c|
|00002fd0| 6f 6d 65 20 69 6e 74 6f | 20 74 68 65 20 73 65 72 |ome into| the ser|
|00002fe0| 69 61 6c 20 69 6e 70 75 | 74 20 70 6f 72 74 20 61 |ial inpu|t port a|
|00002ff0| 72 65 20 73 74 6f 72 65 | 64 20 69 6e 20 61 20 62 |re store|d in a b|
|00003000| 75 66 66 65 72 20 66 6f | 72 20 6c 61 74 65 72 20 |uffer fo|r later |
|00003010| 61 63 63 65 73 73 20 62 | 79 20 6f 70 65 72 61 74 |access b|y operat|
|00003020| 69 6f 6e 73 20 73 75 63 | 68 20 61 73 20 56 44 54 |ions suc|h as VDT|
|00003030| 52 65 61 64 20 61 6e 64 | 20 74 68 61 74 20 63 68 |Read and| that ch|
|00003040| 61 72 61 63 74 65 72 73 | 20 74 68 61 74 20 79 6f |aracters| that yo|
|00003050| 75 20 74 79 70 65 20 77 | 68 69 6c 65 20 74 68 65 |u type w|hile the|
|00003060| 20 56 44 54 20 77 69 6e | 64 6f 77 20 69 73 20 61 | VDT win|dow is a|
|00003070| 63 74 69 76 65 20 61 72 | 65 20 6e 6f 74 20 73 65 |ctive ar|e not se|
|00003080| 6e 74 20 74 6f 20 74 68 | 65 20 73 65 72 69 61 6c |nt to th|e serial|
|00003090| 20 6f 75 74 70 75 74 20 | 70 6f 72 74 2e 20 54 68 | output |port. Th|
|000030a0| 69 73 20 69 73 20 61 70 | 70 72 6f 70 72 69 61 74 |is is ap|propriat|
|000030b0| 65 20 77 68 65 6e 20 79 | 6f 75 20 61 72 65 20 75 |e when y|ou are u|
|000030c0| 73 69 6e 67 20 56 44 54 | 20 74 6f 20 73 65 6e 64 |sing VDT| to send|
|000030d0| 20 61 6e 64 20 72 65 63 | 65 69 76 65 20 64 61 74 | and rec|eive dat|
|000030e0| 61 20 75 6e 64 65 72 20 | 63 6f 6e 74 72 6f 6c 20 |a under |control |
|000030f0| 6f 66 20 49 67 6f 72 20 | 70 72 6f 63 65 64 75 72 |of Igor |procedur|
|00003100| 65 73 2e 0d 00 8b 00 00 | 00 02 4f 70 65 72 61 74 |es......|..Operat|
|00003110| 69 6f 6e 73 20 74 68 61 | 74 20 74 72 61 6e 73 66 |ions tha|t transf|
|00003120| 65 72 20 73 65 72 69 61 | 6c 20 64 61 74 61 20 75 |er seria|l data u|
|00003130| 6e 64 65 72 20 63 6f 6e | 74 72 6f 6c 20 6f 66 20 |nder con|trol of |
|00003140| 70 72 6f 63 65 64 75 72 | 65 73 2c 20 73 75 63 68 |procedur|es, such|
|00003150| 20 61 73 20 56 44 54 52 | 65 61 64 20 61 6e 64 20 | as VDTR|ead and |
|00003160| 56 44 54 57 72 69 74 65 | 2c 20 61 75 74 6f 6d 61 |VDTWrite|, automa|
|00003170| 74 69 63 61 6c 6c 79 20 | 70 75 74 20 56 44 54 20 |tically |put VDT |
|00003180| 69 6e 20 74 68 65 20 6f | 66 66 6c 69 6e 65 20 6d |in the o|ffline m|
|00003190| 6f 64 65 2e 0d 00 00 27 | 00 12 00 01 56 44 54 57 |ode....'|....VDTW|
|000031a0| 72 69 74 65 20 5b 2f 46 | 3d 73 2f 4f 3d 6e 2f 51 |rite [/F|=s/O=n/Q|
|000031b0| 5d 20 5b 61 72 67 2c 20 | 5b 61 72 67 5d 20 2e 2e |] [arg, |[arg] ..|
|000031c0| 2e 5d 0d 00 00 08 ff ff | 00 00 ff ff 00 00 ff ff |.]......|........|
|000031d0| 00 00 00 00 00 00 00 4c | 00 00 00 02 74 72 61 6e |.......L|....tran|
|000031e0| 73 6d 69 74 73 20 63 6f | 6e 74 65 6e 74 73 20 6f |smits co|ntents o|
|000031f0| 66 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 20 6f |f the ar|gument o|
|00003200| 72 20 61 72 67 75 6d 65 | 6e 74 73 20 76 69 61 20 |r argume|nts via |
|00003210| 74 68 65 20 73 65 72 69 | 61 6c 20 6f 75 74 70 75 |the seri|al outpu|
|00003220| 74 20 70 6f 72 74 2e 0d | 00 19 00 00 00 02 53 75 |t port..|......Su|
|00003230| 70 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 56 44 |pplied b|y the VD|
|00003240| 54 20 58 4f 50 2e 0d 00 | 00 45 00 00 00 02 54 68 |T XOP...|.E....Th|
|00003250| 65 20 61 72 67 75 6d 65 | 6e 74 73 20 61 72 65 20 |e argume|nts are |
|00003260| 73 74 72 69 6e 67 20 6f | 72 20 6e 75 6d 65 72 69 |string o|r numeri|
|00003270| 63 20 65 78 70 72 65 73 | 73 69 6f 6e 73 20 6d 61 |c expres|sions ma|
|00003280| 74 63 68 69 6e 67 20 74 | 68 65 20 66 6f 72 6d 61 |tching t|he forma|
|00003290| 74 2e 0d 00 00 06 00 00 | 00 0a 46 6c 61 67 73 0d |t.......|..Flags.|
|000032a0| 00 47 00 24 00 03 2f 46 | 3d 73 09 73 20 69 73 20 |.G.$../F|=s.s is |
|000032b0| 74 68 65 20 66 6f 72 6d | 61 74 20 73 74 72 69 6e |the form|at strin|
|000032c0| 67 2e 20 54 68 69 73 20 | 69 73 20 75 73 65 64 20 |g. This |is used |
|000032d0| 61 73 20 66 6f 72 20 74 | 68 65 20 50 72 69 6e 74 |as for t|he Print|
|000032e0| 66 20 6f 70 65 72 61 74 | 69 6f 6e 2e 0d 00 00 35 |f operat|ion....5|
|000032f0| ff ff 00 01 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00003300| 00 3b ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |.;......|........|
|00003310| 00 00 00 6c 00 00 00 03 | 2f 4f 3d 6e 09 6e 20 69 |...l....|/O=n.n i|
|00003320| 73 20 61 20 74 69 6d 65 | 6f 75 74 20 76 61 6c 75 |s a time|out valu|
|00003330| 65 20 69 6e 20 73 65 63 | 6f 6e 64 73 2e 20 49 66 |e in sec|onds. If|
|00003340| 20 74 68 65 20 74 72 61 | 6e 73 6d 69 73 73 69 6f | the tra|nsmissio|
|00003350| 6e 20 63 61 6e d5 74 20 | 62 65 20 63 6f 6d 70 6c |n can.t |be compl|
|00003360| 65 74 65 64 20 69 6e 20 | 6e 20 73 65 63 6f 6e 64 |eted in |n second|
|00003370| 73 2c 20 56 44 54 57 72 | 69 74 65 20 61 62 6f 72 |s, VDTWr|ite abor|
|00003380| 74 73 2e 0d 00 4c 00 00 | 00 03 2f 51 09 74 65 6c |ts...L..|../Q.tel|
|00003390| 6c 73 20 56 44 54 57 72 | 69 74 65 20 74 68 61 74 |ls VDTWr|ite that|
|000033a0| 20 79 6f 75 20 77 61 6e | 74 20 6e 6f 20 65 72 72 | you wan|t no err|
|000033b0| 6f 72 20 6d 65 73 73 61 | 67 65 20 69 6e 20 74 68 |or messa|ge in th|
|000033c0| 65 20 65 76 65 6e 74 20 | 6f 66 20 61 20 74 69 6d |e event |of a tim|
|000033d0| 65 6f 75 74 2e 0d 00 08 | 00 00 00 0a 44 65 74 61 |eout....|....Deta|
|000033e0| 69 6c 73 0d 00 9a 00 00 | 00 02 56 44 54 57 72 69 |ils.....|..VDTWri|
|000033f0| 74 65 20 73 65 74 73 20 | 74 68 65 20 76 61 72 69 |te sets |the vari|
|00003400| 61 62 6c 65 20 56 5f 56 | 44 54 2c 20 61 66 74 65 |able V_V|DT, afte|
|00003410| 72 20 63 72 65 61 74 69 | 6e 67 20 69 74 20 69 66 |r creati|ng it if|
|00003420| 20 6e 65 63 65 73 73 61 | 72 79 2c 20 74 6f 20 74 | necessa|ry, to t|
|00003430| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00003440| 6d 73 20 77 72 69 74 74 | 65 6e 2e 20 54 68 65 20 |ms writt|en. The |
|00003450| 74 65 72 6d 69 6e 61 74 | 69 6e 67 20 63 61 72 72 |terminat|ing carr|
|00003460| 69 61 67 65 20 72 65 74 | 75 72 6e 20 69 73 20 63 |iage ret|urn is c|
|00003470| 6f 75 6e 74 65 64 20 61 | 73 20 6f 6e 65 20 69 74 |ounted a|s one it|
|00003480| 65 6d 2e 0d 00 09 00 00 | 00 0a 45 78 61 6d 70 6c |em......|..Exampl|
|00003490| 65 73 0d 00 00 12 00 00 | 00 06 09 56 44 54 57 72 |es......|...VDTWr|
|000034a0| 69 74 65 20 22 48 65 6c | 6c 6f 22 0d 00 36 00 00 |ite "Hel|lo"..6..|
|000034b0| 00 02 74 72 61 6e 73 6d | 69 74 73 20 74 68 65 20 |..transm|its the |
|000034c0| 67 72 65 65 74 69 6e 67 | 20 66 6f 6c 6c 6f 77 65 |greeting| followe|
|000034d0| 64 20 62 79 20 61 20 63 | 61 72 72 69 61 67 65 20 |d by a c|arriage |
|000034e0| 72 65 74 75 72 6e 2e 0d | 00 32 00 00 00 06 09 56 |return..|.2.....V|
|000034f0| 44 54 57 72 69 74 65 20 | 2f 46 3d 22 25 67 5c 74 |DTWrite |/F="%g\t|
|00003500| 25 67 5c 74 25 67 5c 72 | 22 20 76 31 2c 20 73 69 |%g\t%g\r|" v1, si|
|00003510| 6e 28 2e 35 29 2c 20 77 | 61 76 65 31 5b 30 5d 0d |n(.5), w|ave1[0].|
|00003520| 00 99 00 00 00 02 74 72 | 61 6e 73 6d 69 74 73 20 |......tr|ansmits |
|00003530| 74 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |the cont|ents of |
|00003540| 76 61 72 69 61 62 6c 65 | 20 76 31 2c 20 74 68 65 |variable| v1, the|
|00003550| 20 73 69 6e 65 20 6f 66 | 20 2e 35 20 72 61 64 69 | sine of| .5 radi|
|00003560| 61 6e 73 20 61 6e 64 20 | 74 68 65 20 63 6f 6e 74 |ans and |the cont|
|00003570| 65 6e 74 73 20 6f 66 20 | 70 6f 69 6e 74 20 30 20 |ents of |point 0 |
|00003580| 6f 66 20 77 61 76 65 31 | 2c 20 73 65 70 61 72 61 |of wave1|, separa|
|00003590| 74 65 64 20 62 79 20 74 | 61 62 73 20 77 69 74 68 |ted by t|abs with|
|000035a0| 20 61 20 63 61 72 72 69 | 61 67 65 20 72 65 74 75 | a carri|age retu|
|000035b0| 72 6e 20 61 74 20 74 68 | 65 20 65 6e 64 2e 0d 00 |rn at th|e end...|
|000035c0| 00 2a 00 12 00 01 56 44 | 54 52 65 61 64 20 5b 2f |.*....VD|TRead [/|
|000035d0| 54 3d 73 2f 4e 3d 6e 2f | 4f 3d 6e 2f 51 5d 20 5b |T=s/N=n/|O=n/Q] [|
|000035e0| 61 72 67 2c 20 5b 61 72 | 67 5d 20 2e 2e 2e 5d 0d |arg, [ar|g] ...].|
|000035f0| 00 07 ff ff 00 00 ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00003600| 00 00 00 69 00 00 00 02 | 72 65 61 64 73 20 63 68 |...i....|reads ch|
|00003610| 61 72 61 63 74 65 72 73 | 20 66 72 6f 6d 20 74 68 |aracters| from th|
|00003620| 65 20 73 65 72 69 61 6c | 20 69 6e 70 75 74 20 70 |e serial| input p|
|00003630| 6f 72 74 20 69 6e 74 6f | 20 74 68 65 20 73 74 72 |ort into| the str|
|00003640| 69 6e 67 20 6f 72 20 6e | 75 6d 65 72 69 63 20 76 |ing or n|umeric v|
|00003650| 61 72 69 61 62 6c 65 73 | 20 73 70 65 63 69 66 69 |ariables| specifi|
|00003660| 65 64 20 61 73 20 61 72 | 67 75 6d 65 6e 74 73 2e |ed as ar|guments.|
|00003670| 0d 00 00 19 00 00 00 02 | 53 75 70 70 6c 69 65 64 |........|Supplied|
|00003680| 20 62 79 20 74 68 65 20 | 56 44 54 20 58 4f 50 2e | by the |VDT XOP.|
|00003690| 0d 00 00 06 00 00 00 0a | 46 6c 61 67 73 0d 00 70 |........|Flags..p|
|000036a0| 00 00 00 03 2f 54 3d 73 | 09 73 20 69 73 20 74 68 |..../T=s|.s is th|
|000036b0| 65 20 74 65 72 6d 69 6e | 61 74 6f 72 20 73 74 72 |e termin|ator str|
|000036c0| 69 6e 67 20 65 78 70 72 | 65 73 73 69 6f 6e 20 61 |ing expr|ession a|
|000036d0| 6e 64 20 73 70 65 63 69 | 66 69 65 73 20 77 68 69 |nd speci|fies whi|
|000036e0| 63 68 20 63 68 61 72 61 | 63 74 65 72 20 6f 72 20 |ch chara|cter or |
|000036f0| 63 68 61 72 61 63 74 65 | 72 73 20 77 69 6c 6c 20 |characte|rs will |
|00003700| 74 65 72 6d 69 6e 61 74 | 65 20 74 68 65 20 72 65 |terminat|e the re|
|00003710| 61 64 2e 0d 00 54 00 00 | 00 03 2f 4e 3d 6e 09 6e |ad...T..|../N=n.n|
|00003720| 20 69 73 20 6d 61 78 69 | 6d 75 6d 20 6e 75 6d 62 | is maxi|mum numb|
|00003730| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|00003740| 20 74 6f 20 72 65 61 64 | 20 66 6f 72 20 61 20 70 | to read| for a p|
|00003750| 61 72 74 69 63 75 6c 61 | 72 20 73 74 72 69 6e 67 |articula|r string|
|00003760| 20 6f 72 20 76 61 72 69 | 61 62 6c 65 2e 0d 00 6a | or vari|able...j|
|00003770| 00 00 00 03 2f 4f 3d 6e | 09 6e 20 69 73 20 61 20 |..../O=n|.n is a |
|00003780| 74 69 6d 65 6f 75 74 20 | 76 61 6c 75 65 20 69 6e |timeout |value in|
|00003790| 20 73 65 63 6f 6e 64 73 | 2e 20 49 66 20 56 44 54 | seconds|. If VDT|
|000037a0| 52 65 61 64 20 63 61 6e | d5 74 20 63 6f 6d 70 6c |Read can|.t compl|
|000037b0| 65 74 65 20 74 68 65 20 | 74 72 61 6e 73 6d 69 73 |ete the |transmis|
|000037c0| 73 69 6f 6e 20 69 6e 20 | 6e 20 73 65 63 6f 6e 64 |sion in |n second|
|000037d0| 73 2c 20 69 74 20 61 62 | 6f 72 74 73 2e 0d 00 4b |s, it ab|orts...K|
|000037e0| 00 00 00 03 2f 51 09 74 | 65 6c 6c 73 20 56 44 54 |..../Q.t|ells VDT|
|000037f0| 52 65 61 64 20 74 68 61 | 74 20 79 6f 75 20 77 61 |Read tha|t you wa|
|00003800| 6e 74 20 6e 6f 20 65 72 | 72 6f 72 20 6d 65 73 73 |nt no er|ror mess|
|00003810| 61 67 65 20 69 6e 20 74 | 68 65 20 65 76 65 6e 74 |age in t|he event|
|00003820| 20 6f 66 20 61 20 74 69 | 6d 65 6f 75 74 2e 0d 00 | of a ti|meout...|
|00003830| 00 08 00 00 00 0a 44 65 | 74 61 69 6c 73 0d 00 5e |......De|tails..^|
|00003840| 00 00 00 02 56 44 54 52 | 65 61 64 20 73 65 74 73 |....VDTR|ead sets|
|00003850| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 56 5f | the var|iable V_|
|00003860| 56 44 54 2c 20 61 66 74 | 65 72 20 63 72 65 61 74 |VDT, aft|er creat|
|00003870| 69 6e 67 20 69 74 20 69 | 66 20 6e 65 63 65 73 73 |ing it i|f necess|
|00003880| 61 72 79 2c 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 |ary, to |the numb|
|00003890| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 72 65 61 64 |er of it|ems read|
|000038a0| 2e 0d 00 08 00 00 00 0a | 45 78 61 6d 70 6c 65 0d |........|Example.|
|000038b0| 00 19 00 00 00 06 09 56 | 44 54 52 65 61 64 2f 4f |.......V|DTRead/O|
|000038c0| 3d 31 30 20 76 31 2c 20 | 73 31 2c 20 76 32 0d ff |=10 v1, |s1, v2..|
|000038d0| 00 c2 00 00 00 02 72 65 | 61 64 73 20 66 72 6f 6d |......re|ads from|
|000038e0| 20 74 68 65 20 73 65 72 | 69 61 6c 20 70 6f 72 74 | the ser|ial port|
|000038f0| 20 69 6e 74 6f 20 76 61 | 72 69 61 62 6c 65 20 76 | into va|riable v|
|00003900| 31 2c 20 73 74 72 69 6e | 67 20 76 61 72 69 61 62 |1, strin|g variab|
|00003910| 6c 65 20 73 31 20 61 6e | 64 20 76 61 72 69 61 62 |le s1 an|d variab|
|00003920| 6c 65 20 76 32 2e 20 49 | 66 20 31 30 20 73 65 63 |le v2. I|f 10 sec|
|00003930| 6f 6e 64 73 20 65 6c 61 | 70 73 65 73 20 77 68 69 |onds ela|pses whi|
|00003940| 6c 65 20 56 44 54 52 65 | 61 64 20 69 73 20 74 72 |le VDTRe|ad is tr|
|00003950| 79 69 6e 67 20 74 6f 20 | 72 65 61 64 20 69 6e 74 |ying to |read int|
|00003960| 6f 20 6f 6e 65 20 6f 66 | 20 69 74 73 20 61 72 67 |o one of| its arg|
|00003970| 75 6d 65 6e 74 73 2c 20 | 69 74 20 61 62 6f 72 74 |uments, |it abort|
|00003980| 73 20 77 69 74 68 20 61 | 20 74 69 6d 65 6f 75 74 |s with a| timeout|
|00003990| 20 65 72 72 6f 72 2e 0d | 00 56 00 00 00 02 48 65 | error..|.V....He|
|000039a0| 72 65 20 69 73 20 61 20 | 64 69 73 63 75 73 73 69 |re is a |discussi|
|000039b0| 6f 6e 20 6f 66 20 68 6f | 77 20 56 44 54 52 65 61 |on of ho|w VDTRea|
|000039c0| 64 20 67 6f 65 73 20 61 | 62 6f 75 74 20 74 72 79 |d goes a|bout try|
|000039d0| 69 6e 67 20 74 6f 20 72 | 65 61 64 20 69 6e 74 6f |ing to r|ead into|
|000039e0| 20 69 74 73 20 61 72 67 | 75 6d 65 6e 74 20 6c 69 | its arg|ument li|
|000039f0| 73 74 2e 0d 00 e5 00 00 | 00 02 49 66 20 74 68 65 |st......|..If the|
|00003a00| 20 2f 54 3d 73 20 66 6c | 61 67 20 69 73 20 70 72 | /T=s fl|ag is pr|
|00003a10| 65 73 65 6e 74 2c 20 69 | 74 20 73 70 65 63 69 66 |esent, i|t specif|
|00003a20| 69 65 73 20 61 20 74 65 | 72 6d 69 6e 61 74 6f 72 |ies a te|rminator|
|00003a30| 20 63 68 61 72 61 63 74 | 65 72 20 6f 72 20 63 68 | charact|er or ch|
|00003a40| 61 72 61 63 74 65 72 73 | 2e 20 54 68 65 20 74 65 |aracters|. The te|
|00003a50| 72 6d 69 6e 61 74 6f 72 | 20 69 73 20 74 68 65 20 |rminator| is the |
|00003a60| 63 68 61 72 61 63 74 65 | 72 20 74 68 61 74 20 65 |characte|r that e|
|00003a70| 6e 64 73 20 69 6e 70 75 | 74 20 69 6e 74 6f 20 61 |nds inpu|t into a|
|00003a80| 20 73 74 72 69 6e 67 20 | 6f 72 20 6e 75 6d 65 72 | string |or numer|
|00003a90| 69 63 20 76 61 72 69 61 | 62 6c 65 2e 20 54 68 65 |ic varia|ble. The|
|00003aa0| 20 64 65 66 61 75 6c 74 | 20 69 73 20 2f 54 3d 22 | default| is /T="|
|00003ab0| 2c 5c 72 5c 74 22 20 73 | 6f 20 74 68 61 74 20 61 |,\r\t" s|o that a|
|00003ac0| 20 63 6f 6d 6d 61 2c 20 | 43 52 20 6f 72 20 74 61 | comma, |CR or ta|
|00003ad0| 62 20 65 6e 64 73 20 61 | 20 72 65 61 64 2e 0d 00 |b ends a| read...|
|00003ae0| 00 ce 00 00 00 02 49 66 | 20 74 68 65 20 66 69 72 |......If| the fir|
|00003af0| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 69 6e 20 |st chara|cter in |
|00003b00| 74 65 72 6d 20 69 73 20 | 5e 20 74 68 65 6e 20 74 |term is |^ then t|
|00003b10| 68 65 20 74 65 72 6d 69 | 6e 61 74 6f 72 20 69 73 |he termi|nator is|
|00003b20| 20 74 61 6b 65 6e 20 74 | 6f 20 62 65 20 61 6e 79 | taken t|o be any|
|00003b30| 20 63 68 61 72 61 63 74 | 65 72 20 4e 4f 54 20 69 | charact|er NOT i|
|00003b40| 6e 20 74 65 72 6d 2e 20 | 4e 4f 54 45 3a 20 74 68 |n term. |NOTE: th|
|00003b50| 69 73 20 77 6f 72 6b 73 | 20 70 72 6f 70 65 72 6c |is works| properl|
|00003b60| 79 20 66 6f 72 20 73 74 | 72 69 6e 67 20 76 61 72 |y for st|ring var|
|00003b70| 69 61 62 6c 65 20 6f 6e | 6c 79 2e 20 54 68 65 20 |iable on|ly. The |
|00003b80| 77 61 79 20 6e 75 6d 65 | 72 69 63 20 76 61 72 69 |way nume|ric vari|
|00003b90| 61 62 6c 65 73 20 61 72 | 65 20 69 6e 70 75 74 20 |ables ar|e input |
|00003ba0| 69 73 20 64 65 73 63 72 | 69 62 65 64 20 62 65 6c |is descr|ibed bel|
|00003bb0| 6f 77 2e 0d 00 b4 00 00 | 00 02 2f 4e 3d 6e 20 73 |ow......|../N=n s|
|00003bc0| 70 65 63 69 66 69 65 73 | 20 61 6e 20 6f 70 74 69 |pecifies| an opti|
|00003bd0| 6f 6e 61 6c 20 6d 61 78 | 69 6d 75 6d 20 6e 75 6d |onal max|imum num|
|00003be0| 62 65 72 20 6f 66 20 63 | 68 61 72 61 63 74 65 72 |ber of c|haracter|
|00003bf0| 73 20 74 6f 20 62 65 20 | 72 65 61 64 20 69 6e 74 |s to be |read int|
|00003c00| 6f 20 61 20 73 74 72 69 | 6e 67 20 6f 72 20 6e 75 |o a stri|ng or nu|
|00003c10| 6d 65 72 69 63 20 76 61 | 72 69 61 62 6c 65 2e 20 |meric va|riable. |
|00003c20| 54 68 65 20 64 65 66 61 | 75 6c 74 20 69 73 20 2f |The defa|ult is /|
|00003c30| 4e 3d 32 35 35 20 66 6f | 72 20 61 20 73 74 72 69 |N=255 fo|r a stri|
|00003c40| 6e 67 20 76 61 72 69 61 | 62 6c 65 20 61 6e 64 20 |ng varia|ble and |
|00003c50| 2f 4e 3d 31 36 20 66 6f | 72 20 61 20 6e 75 6d 65 |/N=16 fo|r a nume|
|00003c60| 72 69 63 20 76 61 72 69 | 61 62 6c 65 2e 0d 00 d4 |ric vari|able....|
|00003c70| 00 00 00 02 49 66 20 74 | 68 65 20 2f 4f 3d 6e 20 |....If t|he /O=n |
|00003c80| 66 6c 61 67 20 69 73 20 | 70 72 65 73 65 6e 74 2c |flag is |present,|
|00003c90| 20 69 74 20 73 70 65 63 | 69 66 69 65 73 20 61 20 | it spec|ifies a |
|00003ca0| 74 69 6d 65 6f 75 74 20 | 69 6e 20 73 65 63 6f 6e |timeout |in secon|
|00003cb0| 64 73 2e 20 49 66 20 6e | 20 73 65 63 6f 6e 64 73 |ds. If n| seconds|
|00003cc0| 20 65 6c 61 70 73 65 20 | 62 65 66 6f 72 65 20 56 | elapse |before V|
|00003cd0| 44 54 20 68 61 73 20 72 | 65 61 64 20 74 68 65 20 |DT has r|ead the |
|00003ce0| 6e 65 78 74 20 69 6e 70 | 75 74 20 66 69 65 6c 64 |next inp|ut field|
|00003cf0| 2c 20 69 74 20 71 75 69 | 74 73 20 74 72 79 69 6e |, it qui|ts tryin|
|00003d00| 67 20 74 6f 20 72 65 61 | 64 2e 20 54 68 65 20 74 |g to rea|d. The t|
|00003d10| 69 6d 65 6f 75 74 20 69 | 73 20 74 68 65 20 74 69 |imeout i|s the ti|
|00003d20| 6d 65 20 66 6f 72 20 61 | 20 73 69 6e 67 6c 65 20 |me for a| single |
|00003d30| 73 74 72 69 6e 67 20 6f | 72 20 6e 75 6d 65 72 69 |string o|r numeri|
|00003d40| 63 20 72 65 61 64 2e 0d | 00 f7 00 00 00 02 49 66 |c read..|......If|
|00003d50| 20 2f 51 20 69 73 20 70 | 72 65 73 65 6e 74 20 61 | /Q is p|resent a|
|00003d60| 6e 64 20 61 20 74 69 6d | 65 6f 75 74 20 6f 63 63 |nd a tim|eout occ|
|00003d70| 75 72 73 2c 20 56 44 54 | 52 65 61 64 20 61 62 6f |urs, VDT|Read abo|
|00003d80| 72 74 73 20 61 66 74 65 | 72 20 73 65 74 74 69 6e |rts afte|r settin|
|00003d90| 67 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 56 |g the va|riable V|
|00003da0| 5f 56 44 54 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 |_VDT to |the numb|
|00003db0| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 72 65 61 64 |er of it|ems read|
|00003dc0| 20 62 75 74 20 64 6f 65 | 73 20 6e 6f 74 20 70 75 | but doe|s not pu|
|00003dd0| 74 20 75 70 20 61 6e 20 | 65 72 72 6f 72 20 6d 65 |t up an |error me|
|00003de0| 73 73 61 67 65 20 61 6e | 64 20 64 6f 65 73 20 6e |ssage an|d does n|
|00003df0| 6f 74 20 68 61 6c 74 20 | 6d 61 63 72 6f 20 65 78 |ot halt |macro ex|
|00003e00| 65 63 75 74 69 6f 6e 2e | 20 54 68 69 73 20 61 6c |ecution.| This al|
|00003e10| 6c 6f 77 73 20 61 20 70 | 72 6f 63 65 64 75 72 65 |lows a p|rocedure|
|00003e20| 20 74 6f 20 68 61 6e 64 | 6c 65 20 61 20 74 69 6d | to hand|le a tim|
|00003e30| 65 6f 75 74 20 69 6e 20 | 69 74 73 20 6f 77 6e 20 |eout in |its own |
|00003e40| 77 61 79 2e 0d 00 00 a5 | 00 24 00 02 57 68 65 6e |way.....|.$..When|
|00003e50| 20 72 65 61 64 69 6e 67 | 20 61 20 73 74 72 69 6e | reading| a strin|
|00003e60| 67 2c 20 56 44 54 52 65 | 61 64 20 72 65 61 64 73 |g, VDTRe|ad reads|
|00003e70| 20 75 6e 74 69 6c 20 74 | 68 65 20 6e 65 78 74 20 | until t|he next |
|00003e80| 74 65 72 6d 69 6e 61 74 | 6f 72 20 69 73 20 65 6e |terminat|or is en|
|00003e90| 63 6f 75 6e 74 65 72 65 | 64 2e 20 54 68 65 20 74 |countere|d. The t|
|00003ea0| 65 72 6d 69 6e 61 74 6f | 72 20 69 73 20 6e 6f 74 |erminato|r is not|
|00003eb0| 20 70 75 74 20 69 6e 74 | 6f 20 74 68 65 20 73 74 | put int|o the st|
|00003ec0| 72 69 6e 67 2e 20 54 68 | 65 20 6e 65 78 74 20 72 |ring. Th|e next r|
|00003ed0| 65 61 64 20 73 74 61 72 | 74 73 20 61 66 74 65 72 |ead star|ts after|
|00003ee0| 20 74 68 65 20 74 65 72 | 6d 69 6e 61 74 6f 72 2e | the ter|minator.|
|00003ef0| 0d 00 00 61 ff ff 00 04 | ff ff 00 00 ff ff 00 00 |...a....|........|
|00003f00| 00 00 00 00 00 64 ff ff | ff ff ff ff 00 00 ff ff |.....d..|........|
|00003f10| 00 00 00 00 00 00 01 e9 | 00 00 00 02 49 66 20 79 |........|....If y|
|00003f20| 6f 75 20 72 65 61 64 20 | 63 68 61 72 61 63 74 65 |ou read |characte|
|00003f30| 72 73 20 69 6e 74 6f 20 | 61 20 73 74 72 69 6e 67 |rs into |a string|
|00003f40| 20 61 6e 64 20 6f 6e 65 | 20 6f 72 20 6d 6f 72 65 | and one| or more|
|00003f50| 20 6f 66 20 74 68 65 6d | 20 69 73 20 61 20 6e 75 | of them| is a nu|
|00003f60| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 20 28 41 53 |ll chara|cter (AS|
|00003f70| 43 49 49 20 63 6f 64 65 | 20 30 29 2c 20 79 6f 75 |CII code| 0), you|
|00003f80| 20 6d 61 79 20 67 65 74 | 20 73 75 72 70 72 69 73 | may get| surpris|
|00003f90| 69 6e 67 20 72 65 73 75 | 6c 74 73 20 77 68 65 6e |ing resu|lts when|
|00003fa0| 20 79 6f 75 20 74 72 79 | 20 74 6f 20 75 73 65 20 | you try| to use |
|00003fb0| 74 68 65 20 73 74 72 69 | 6e 67 20 69 6e 20 49 67 |the stri|ng in Ig|
|00003fc0| 6f 72 2e 20 54 68 69 73 | 20 69 73 20 62 65 63 61 |or. This| is beca|
|00003fd0| 75 73 65 20 49 67 6f 72 | 20 69 6e 74 65 72 6e 61 |use Igor| interna|
|00003fe0| 6c 6c 79 20 75 73 65 73 | 20 74 68 65 20 6e 75 6c |lly uses| the nul|
|00003ff0| 6c 20 63 68 61 72 61 63 | 74 65 72 20 74 6f 20 6d |l charac|ter to m|
|00004000| 65 61 6e 20 65 6e 64 2d | 6f 66 2d 73 74 72 69 6e |ean end-|of-strin|
|00004010| 67 2e 20 53 6f 2c 20 56 | 44 54 20 77 69 6c 6c 20 |g. So, V|DT will |
|00004020| 72 65 61 64 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |read all| of the |
|00004030| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 74 6f 20 |characte|rs into |
|00004040| 74 68 65 20 73 74 72 69 | 6e 67 20 62 75 74 20 77 |the stri|ng but w|
|00004050| 68 65 6e 20 79 6f 75 20 | 70 72 69 6e 74 20 69 74 |hen you |print it|
|00004060| 20 69 6e 20 74 68 65 20 | 68 69 73 74 6f 72 79 2c | in the |history,|
|00004070| 20 79 6f 75 20 77 69 6c | 6c 20 73 65 65 20 6f 6e | you wil|l see on|
|00004080| 6c 79 20 75 70 20 74 6f | 20 74 68 65 20 66 69 72 |ly up to| the fir|
|00004090| 73 74 20 6e 75 6c 6c 2e | 20 49 6e 20 61 6e 20 49 |st null.| In an I|
|000040a0| 67 6f 72 20 70 72 6f 63 | 65 64 75 72 65 2c 20 79 |gor proc|edure, y|
|000040b0| 6f 75 20 63 61 6e 20 73 | 74 72 69 70 20 6e 75 6c |ou can s|trip nul|
|000040c0| 6c 73 20 6f 75 74 20 6f | 66 20 74 68 65 20 73 74 |ls out o|f the st|
|000040d0| 72 69 6e 67 2c 20 75 73 | 69 6e 67 20 73 74 72 69 |ring, us|ing stri|
|000040e0| 6e 67 20 69 6e 64 65 78 | 69 6e 67 20 74 65 63 68 |ng index|ing tech|
|000040f0| 6e 69 71 75 65 73 2e 20 | 46 6f 72 20 65 78 61 6d |niques. |For exam|
|00004100| 70 6c 65 3a 0d 00 00 1c | 00 00 00 05 09 46 75 6e |ple:....|.....Fun|
|00004110| 63 74 69 6f 6e 2f 53 20 | 52 65 70 6c 61 63 65 4e |ction/S |ReplaceN|
|00004120| 75 6c 6c 73 28 73 29 0d | 00 0b 00 00 00 05 09 09 |ulls(s).|........|
|00004130| 53 74 72 69 6e 67 20 73 | 0d 00 00 1e 00 00 00 05 |String s|........|
|00004140| 09 09 56 61 72 69 61 62 | 6c 65 20 69 3d 30 2c 20 |..Variab|le i=0, |
|00004150| 6c 65 6e 3d 73 74 72 6c | 65 6e 28 73 29 0d 00 05 |len=strl|en(s)...|
|00004160| 00 00 00 05 09 09 64 6f | 0d 00 00 1c 00 00 00 05 |......do|........|
|00004170| 09 09 09 69 66 20 28 63 | 68 61 72 32 6e 75 6d 28 |...if (c|har2num(|
|00004180| 73 5b 69 5d 29 20 3d 3d | 20 30 29 0d 00 28 00 00 |s[i]) ==| 0)..(..|
|00004190| 00 05 09 09 09 09 73 5b | 69 2c 69 5d 20 3d 20 22 |......s[|i,i] = "|
|000041a0| 2a 22 09 2f 2f 20 52 65 | 70 6c 61 63 65 20 6e 75 |*".// Re|place nu|
|000041b0| 6c 6c 20 77 69 74 68 20 | 2a 0d 00 09 00 00 00 05 |ll with |*.......|
|000041c0| 09 09 09 65 6e 64 69 66 | 0d 00 00 0a 00 00 00 05 |...endif|........|
|000041d0| 09 09 09 69 20 2b 3d 20 | 31 0d 00 11 00 00 00 05 |...i += |1.......|
|000041e0| 09 09 77 68 69 6c 65 28 | 69 20 3c 20 6c 65 6e 29 |..while(|i < len)|
|000041f0| 0d 00 00 0b 00 00 00 05 | 09 09 72 65 74 75 72 6e |........|..return|
|00004200| 20 73 0d 00 00 05 00 00 | 00 05 09 45 6e 64 0d 00 | s......|...End..|
|00004210| 00 01 00 00 00 07 0d 00 | 00 f3 00 00 00 02 57 68 |........|......Wh|
|00004220| 65 6e 20 72 65 61 64 69 | 6e 67 20 61 20 6e 75 6d |en readi|ng a num|
|00004230| 65 72 69 63 20 76 61 72 | 69 61 62 6c 65 2c 20 56 |eric var|iable, V|
|00004240| 44 54 52 65 61 64 20 66 | 69 72 73 74 20 73 6b 69 |DTRead f|irst ski|
|00004250| 70 73 20 61 6e 79 20 6e | 6f 6e 2d 6e 75 6d 65 72 |ps any n|on-numer|
|00004260| 69 63 20 63 68 61 72 61 | 63 74 65 72 73 20 61 6e |ic chara|cters an|
|00004270| 64 20 74 68 65 6e 20 72 | 65 61 64 73 20 61 20 6e |d then r|eads a n|
|00004280| 75 6d 62 65 72 2e 20 48 | 6f 77 65 76 65 72 2c 20 |umber. H|owever, |
|00004290| 69 66 20 69 74 20 66 69 | 6e 64 73 20 61 20 74 65 |if it fi|nds a te|
|000042a0| 72 6d 69 6e 61 74 6f 72 | 20 62 65 66 6f 72 65 20 |rminator| before |
|000042b0| 74 68 65 20 66 69 72 73 | 74 20 6e 6f 6e 2d 6e 75 |the firs|t non-nu|
|000042c0| 6d 65 72 69 63 20 63 68 | 61 72 61 63 74 65 72 2c |meric ch|aracter,|
|000042d0| 20 69 74 20 70 75 74 73 | 20 61 20 4e 61 4e 20 28 | it puts| a NaN (|
|000042e0| 6e 6f 74 2d 61 2d 6e 75 | 6d 62 65 72 29 20 69 6e |not-a-nu|mber) in|
|000042f0| 74 6f 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |to the v|ariable |
|00004300| 62 65 69 6e 67 20 72 65 | 61 64 20 69 6e 74 6f 2e |being re|ad into.|
|00004310| 0d 00 00 e1 00 48 00 02 | 54 68 65 20 6e 75 6d 62 |.....H..|The numb|
|00004320| 65 72 20 69 73 20 74 65 | 72 6d 69 6e 61 74 65 64 |er is te|rminated|
|00004330| 20 62 79 20 74 68 65 20 | 66 69 72 73 74 20 6e 6f | by the |first no|
|00004340| 6e 2d 6e 75 6d 65 72 69 | 63 20 63 68 61 72 61 63 |n-numeri|c charac|
|00004350| 74 65 72 20 61 66 74 65 | 72 20 74 68 65 20 6e 75 |ter afte|r the nu|
|00004360| 6d 65 72 69 63 20 63 68 | 61 72 61 63 74 65 72 73 |meric ch|aracters|
|00004370| 20 73 74 61 72 74 2e 20 | 54 68 65 20 6e 65 78 74 | start. |The next|
|00004380| 20 72 65 61 64 20 73 74 | 61 72 74 73 20 61 66 74 | read st|arts aft|
|00004390| 65 72 20 74 68 69 73 20 | 63 68 61 72 61 63 74 65 |er this |characte|
|000043a0| 72 20 69 66 20 74 68 69 | 73 20 63 68 61 72 61 63 |r if thi|s charac|
|000043b0| 74 65 72 20 69 73 20 61 | 20 74 65 72 6d 69 6e 61 |ter is a| termina|
|000043c0| 74 6f 72 2e 20 4f 74 68 | 65 72 77 69 73 65 2c 20 |tor. Oth|erwise, |
|000043d0| 74 68 65 20 6e 65 78 74 | 20 72 65 61 64 20 73 74 |the next| read st|
|000043e0| 61 72 74 73 20 61 74 20 | 74 68 69 73 20 63 68 61 |arts at |this cha|
|000043f0| 72 61 63 74 65 72 73 2e | 0d 00 00 75 ff ff 00 04 |racters.|...u....|
|00004400| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 7a ff ff |........|.....z..|
|00004410| ff ff ff ff 00 00 ff ff | 00 00 00 00 00 00 00 cd |........|........|
|00004420| ff ff 00 04 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00004430| 00 cf ff ff ff ff ff ff | 00 00 ff ff 00 00 00 00 |........|........|
|00004440| 00 00 00 99 00 00 00 02 | 49 66 20 74 68 65 20 6e |........|If the n|
|00004450| 75 6d 65 72 69 63 20 76 | 61 72 69 61 62 6c 65 20 |umeric v|ariable |
|00004460| 69 73 20 63 6f 6d 70 6c | 65 78 2c 20 56 44 54 52 |is compl|ex, VDTR|
|00004470| 65 61 64 20 65 78 70 65 | 63 74 73 20 74 6f 20 72 |ead expe|cts to r|
|00004480| 65 61 64 20 74 77 6f 20 | 6e 75 6d 62 65 72 73 20 |ead two |numbers |
|00004490| 66 72 6f 6d 20 74 68 65 | 20 73 65 72 69 61 6c 20 |from the| serial |
|000044a0| 70 6f 72 74 20 61 6e 64 | 20 73 65 74 73 20 62 6f |port and| sets bo|
|000044b0| 74 68 20 74 68 65 20 72 | 65 61 6c 20 61 6e 64 20 |th the r|eal and |
|000044c0| 69 6d 61 67 69 6e 61 72 | 79 20 70 61 72 74 73 20 |imaginar|y parts |
|000044d0| 6f 66 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 2e |of the v|ariable.|
|000044e0| 0d 00 00 36 00 12 00 01 | 56 44 54 57 72 69 74 65 |...6....|VDTWrite|
|000044f0| 57 61 76 65 20 5b 2f 52 | 3d 5b 73 74 61 72 74 2c |Wave [/R|=[start,|
|00004500| 65 6e 64 5d 2f 46 3d 66 | 6f 72 6d 61 74 2f 4f 3d |end]/F=f|ormat/O=|
|00004510| 6e 2f 51 5d 20 77 61 76 | 65 6c 69 73 74 0d 00 0c |n/Q] wav|elist...|
|00004520| ff ff 00 00 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00004530| 00 54 00 00 00 02 74 72 | 61 6e 73 6d 69 74 73 20 |.T....tr|ansmits |
|00004540| 63 6f 6e 74 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |contents| of the |
|00004550| 6e 75 6d 65 72 69 63 20 | 6f 72 20 74 65 78 74 20 |numeric |or text |
|00004560| 77 61 76 65 73 20 61 73 | 20 74 65 78 74 20 76 69 |waves as| text vi|
|00004570| 61 20 74 68 65 20 73 65 | 72 69 61 6c 20 6f 75 74 |a the se|rial out|
|00004580| 70 75 74 20 70 6f 72 74 | 2e 0d 00 19 00 00 00 02 |put port|........|
|00004590| 53 75 70 70 6c 69 65 64 | 20 62 79 20 74 68 65 20 |Supplied| by the |
|000045a0| 56 44 54 20 58 4f 50 2e | 0d 00 00 06 00 00 00 0a |VDT XOP.|........|
|000045b0| 46 6c 61 67 73 0d 01 13 | 00 00 00 03 2f 52 3d 28 |Flags...|..../R=(|
|000045c0| 73 74 61 72 74 2c 65 6e | 64 29 09 73 70 65 63 69 |start,en|d).speci|
|000045d0| 66 69 65 73 20 74 68 65 | 20 73 74 61 72 74 69 6e |fies the| startin|
|000045e0| 67 20 61 6e 64 20 65 6e | 64 69 6e 67 20 58 20 76 |g and en|ding X v|
|000045f0| 61 6c 75 65 73 20 66 6f | 72 20 61 20 72 61 6e 67 |alues fo|r a rang|
|00004600| 65 20 6f 66 20 74 68 65 | 20 77 61 76 65 73 20 74 |e of the| waves t|
|00004610| 68 61 74 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |hat you |want to |
|00004620| 77 72 69 74 65 20 64 61 | 74 61 20 66 72 6f 6d 2e |write da|ta from.|
|00004630| 20 73 74 61 72 74 20 61 | 6e 64 20 65 6e 64 20 61 | start a|nd end a|
|00004640| 72 65 20 69 6e 20 74 65 | 72 6d 73 20 6f 66 20 74 |re in te|rms of t|
|00004650| 68 65 20 58 20 76 61 6c | 75 65 73 20 6f 66 20 74 |he X val|ues of t|
|00004660| 68 65 20 66 69 72 73 74 | 20 77 61 76 65 20 69 6e |he first| wave in|
|00004670| 20 74 68 65 20 77 61 76 | 65 6c 69 73 74 2e 20 59 | the wav|elist. Y|
|00004680| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 75 73 65 20 |ou can a|lso use |
|00004690| 2f 52 3d 5b 73 74 61 72 | 74 2c 65 6e 64 5d 20 74 |/R=[star|t,end] t|
|000046a0| 6f 20 73 70 65 63 69 66 | 79 20 74 68 65 20 72 61 |o specif|y the ra|
|000046b0| 6e 67 65 20 69 6e 20 74 | 65 72 6d 73 20 6f 66 20 |nge in t|erms of |
|000046c0| 70 6f 69 6e 74 20 6e 75 | 6d 62 65 72 73 2e 0d 00 |point nu|mbers...|
|000046d0| 00 7d 00 24 00 03 2f 46 | 3d 73 09 73 20 69 73 20 |.}.$../F|=s.s is |
|000046e0| 74 68 65 20 66 6f 72 6d | 61 74 20 73 74 72 69 6e |the form|at strin|
|000046f0| 67 2e 20 54 68 69 73 20 | 69 73 20 75 73 65 64 20 |g. This |is used |
|00004700| 61 73 20 66 6f 72 20 74 | 68 65 20 50 72 69 6e 74 |as for t|he Print|
|00004710| 66 20 6f 70 65 72 61 74 | 69 6f 6e 2e 20 46 6c 6f |f operat|ion. Flo|
|00004720| 61 74 69 6e 67 20 70 6f | 69 6e 74 20 66 6f 72 6d |ating po|int form|
|00004730| 61 74 73 20 28 25 67 2c | 20 25 65 2c 20 25 66 29 |ats (%g,| %e, %f)|
|00004740| 20 6f 6e 6c 79 20 61 72 | 65 20 61 6c 6c 6f 77 65 | only ar|e allowe|
|00004750| 64 2e 0d 00 00 35 ff ff | 00 01 ff ff 00 00 ff ff |d....5..|........|
|00004760| 00 00 00 00 00 00 00 3b | ff ff ff ff ff ff 00 00 |.......;|........|
|00004770| ff ff 00 00 00 00 00 00 | 00 45 00 00 00 03 09 54 |........|.E.....T|
|00004780| 68 65 20 64 65 66 61 75 | 6c 74 20 66 6f 72 6d 61 |he defau|lt forma|
|00004790| 74 20 6f 66 20 22 25 67 | 5c 74 25 67 5c 74 20 2e |t of "%g|\t%g\t .|
|000047a0| 2e 2e 20 25 67 5c 72 22 | 20 69 73 20 75 73 65 64 |.. %g\r"| is used|
|000047b0| 20 69 66 20 79 6f 75 20 | 6f 6d 69 74 20 2f 46 3d | if you |omit /F=|
|000047c0| 73 2e 0d 00 00 70 00 00 | 00 03 2f 4f 3d 6e 09 6e |s....p..|../O=n.n|
|000047d0| 20 69 73 20 61 20 74 69 | 6d 65 6f 75 74 20 76 61 | is a ti|meout va|
|000047e0| 6c 75 65 20 69 6e 20 73 | 65 63 6f 6e 64 73 2e 20 |lue in s|econds. |
|000047f0| 49 66 20 74 68 65 20 74 | 72 61 6e 73 6d 69 73 73 |If the t|ransmiss|
|00004800| 69 6f 6e 20 63 61 6e d5 | 74 20 62 65 20 63 6f 6d |ion can.|t be com|
|00004810| 70 6c 65 74 65 64 20 69 | 6e 20 6e 20 73 65 63 6f |pleted i|n n seco|
|00004820| 6e 64 73 2c 20 56 44 54 | 57 72 69 74 65 57 61 76 |nds, VDT|WriteWav|
|00004830| 65 20 61 62 6f 72 74 73 | 2e 0d 00 4c 00 00 00 03 |e aborts|...L....|
|00004840| 2f 51 09 74 65 6c 6c 73 | 20 56 44 54 57 72 69 74 |/Q.tells| VDTWrit|
|00004850| 65 20 74 68 61 74 20 79 | 6f 75 20 77 61 6e 74 20 |e that y|ou want |
|00004860| 6e 6f 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |no error| message|
|00004870| 20 69 6e 20 74 68 65 20 | 65 76 65 6e 74 20 6f 66 | in the |event of|
|00004880| 20 61 20 74 69 6d 65 6f | 75 74 2e 0d 00 08 00 00 | a timeo|ut......|
|00004890| 00 0a 44 65 74 61 69 6c | 73 0d 00 73 00 00 00 02 |..Detail|s..s....|
|000048a0| 56 44 54 57 72 69 74 65 | 57 61 76 65 20 73 65 74 |VDTWrite|Wave set|
|000048b0| 73 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 20 56 |s the va|riable V|
|000048c0| 5f 56 44 54 2c 20 61 66 | 74 65 72 20 63 72 65 61 |_VDT, af|ter crea|
|000048d0| 74 69 6e 67 20 69 74 20 | 69 66 20 6e 65 63 65 73 |ting it |if neces|
|000048e0| 73 61 72 79 2c 20 74 6f | 20 74 68 65 20 6e 75 6d |sary, to| the num|
|000048f0| 62 65 72 20 6f 66 20 69 | 6e 64 69 76 69 64 75 61 |ber of i|ndividua|
|00004900| 6c 20 6e 75 6d 62 65 72 | 73 20 77 72 69 74 74 65 |l number|s writte|
|00004910| 6e 2e 0d 00 00 08 00 00 | 00 0a 45 78 61 6d 70 6c |n.......|..Exampl|
|00004920| 65 0d 00 20 00 00 00 06 | 09 56 44 54 57 72 69 74 |e.. ....|.VDTWrit|
|00004930| 65 57 61 76 65 20 77 61 | 76 65 31 2c 77 61 76 65 |eWave wa|ve1,wave|
|00004940| 32 2c 77 61 76 65 33 0d | 00 ab 00 00 00 02 74 72 |2,wave3.|......tr|
|00004950| 61 6e 73 6d 69 74 73 20 | 74 68 65 20 65 6e 74 69 |ansmits |the enti|
|00004960| 72 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 77 |re conte|nts of w|
|00004970| 61 76 65 31 2c 20 77 61 | 76 65 32 20 61 6e 64 20 |ave1, wa|ve2 and |
|00004980| 77 61 76 65 33 20 61 73 | 20 41 53 43 49 49 20 74 |wave3 as| ASCII t|
|00004990| 65 78 74 2e 20 45 61 63 | 68 20 6c 69 6e 65 20 74 |ext. Eac|h line t|
|000049a0| 72 61 6e 73 6d 69 74 74 | 65 64 20 63 6f 6e 74 61 |ransmitt|ed conta|
|000049b0| 69 6e 73 20 74 68 72 65 | 65 20 6e 75 6d 62 65 72 |ins thre|e number|
|000049c0| 73 2c 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |s, separ|ated by |
|000049d0| 74 61 62 73 2c 20 77 69 | 74 68 20 61 20 63 61 72 |tabs, wi|th a car|
|000049e0| 72 69 61 67 65 20 72 65 | 74 75 72 6e 20 61 74 20 |riage re|turn at |
|000049f0| 74 68 65 20 65 6e 64 2e | 0d 00 00 34 00 12 00 01 |the end.|...4....|
|00004a00| 56 44 54 52 65 61 64 57 | 61 76 65 20 5b 2f 52 3d |VDTReadW|ave [/R=|
|00004a10| 28 73 74 61 72 74 2c 65 | 6e 64 29 2f 54 3d 73 2f |(start,e|nd)/T=s/|
|00004a20| 4e 3d 6e 2f 4f 3d 6e 2f | 51 5d 20 77 61 76 65 6c |N=n/O=n/|Q] wavel|
|00004a30| 69 73 74 0d 00 0b ff ff | 00 00 ff ff 00 00 ff ff |ist.....|........|
|00004a40| 00 00 00 00 00 00 00 47 | 00 00 00 02 72 65 61 64 |.......G|....read|
|00004a50| 73 20 74 65 78 74 20 64 | 61 74 61 20 66 72 6f 6d |s text d|ata from|
|00004a60| 20 74 68 65 20 73 65 72 | 69 61 6c 20 69 6e 70 75 | the ser|ial inpu|
|00004a70| 74 20 70 6f 72 74 20 69 | 6e 74 6f 20 6e 75 6d 65 |t port i|nto nume|
|00004a80| 72 69 63 20 6f 72 20 74 | 65 78 74 20 77 61 76 65 |ric or t|ext wave|
|00004a90| 73 2e 0d 00 00 19 00 00 | 00 02 53 75 70 70 6c 69 |s.......|..Suppli|
|00004aa0| 65 64 20 62 79 20 74 68 | 65 20 56 44 54 20 58 4f |ed by th|e VDT XO|
|00004ab0| 50 2e 0d 00 00 06 00 00 | 00 0a 46 6c 61 67 73 0d |P.......|..Flags.|
|00004ac0| 00 29 00 00 00 02 54 68 | 65 20 66 6c 61 67 73 20 |.)....Th|e flags |
|00004ad0| 6f 70 65 72 61 74 65 20 | 61 73 20 66 6f 72 20 56 |operate |as for V|
|00004ae0| 44 54 52 65 61 64 20 65 | 78 63 65 70 74 3a 0d 00 |DTRead e|xcept:..|
|00004af0| 01 12 00 00 00 03 2f 52 | 3d 28 73 74 61 72 74 2c |....../R|=(start,|
|00004b00| 65 6e 64 29 09 73 70 65 | 63 69 66 69 65 73 20 74 |end).spe|cifies t|
|00004b10| 68 65 20 73 74 61 72 74 | 69 6e 67 20 61 6e 64 20 |he start|ing and |
|00004b20| 65 6e 64 69 6e 67 20 58 | 20 76 61 6c 75 65 73 20 |ending X| values |
|00004b30| 66 6f 72 20 61 20 72 61 | 6e 67 65 20 6f 66 20 74 |for a ra|nge of t|
|00004b40| 68 65 20 77 61 76 65 73 | 20 74 68 61 74 20 79 6f |he waves| that yo|
|00004b50| 75 20 77 61 6e 74 20 74 | 6f 20 72 65 61 64 20 64 |u want t|o read d|
|00004b60| 61 74 61 20 69 6e 74 6f | 2e 20 73 74 61 72 74 20 |ata into|. start |
|00004b70| 61 6e 64 20 65 6e 64 20 | 61 72 65 20 69 6e 20 74 |and end |are in t|
|00004b80| 65 72 6d 73 20 6f 66 20 | 74 68 65 20 58 20 76 61 |erms of |the X va|
|00004b90| 6c 75 65 73 20 6f 66 20 | 74 68 65 20 66 69 72 73 |lues of |the firs|
|00004ba0| 74 20 77 61 76 65 20 69 | 6e 20 74 68 65 20 77 61 |t wave i|n the wa|
|00004bb0| 76 65 6c 69 73 74 2e 20 | 59 6f 75 20 63 61 6e 20 |velist. |You can |
|00004bc0| 61 6c 73 6f 20 75 73 65 | 20 2f 52 3d 5b 73 74 61 |also use| /R=[sta|
|00004bd0| 72 74 2c 65 6e 64 5d 20 | 74 6f 20 73 70 65 63 69 |rt,end] |to speci|
|00004be0| 66 79 20 74 68 65 20 72 | 61 6e 67 65 20 69 6e 20 |fy the r|ange in |
|00004bf0| 74 65 72 6d 73 20 6f 66 | 20 70 6f 69 6e 74 20 6e |terms of| point n|
|00004c00| 75 6d 62 65 72 73 2e 0d | 00 08 00 00 00 0a 44 65 |umbers..|......De|
|00004c10| 74 61 69 6c 73 0d 00 70 | 00 00 00 02 56 44 54 52 |tails..p|....VDTR|
|00004c20| 65 61 64 57 61 76 65 20 | 73 65 74 73 20 74 68 65 |eadWave |sets the|
|00004c30| 20 76 61 72 69 61 62 6c | 65 20 56 5f 56 44 54 2c | variabl|e V_VDT,|
|00004c40| 20 61 66 74 65 72 20 63 | 72 65 61 74 69 6e 67 20 | after c|reating |
|00004c50| 69 74 20 69 66 20 6e 65 | 63 65 73 73 61 72 79 2c |it if ne|cessary,|
|00004c60| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00004c70| 66 20 20 69 6e 64 69 76 | 69 64 75 61 6c 20 6e 75 |f indiv|idual nu|
|00004c80| 6d 62 65 72 73 20 72 65 | 61 64 2e 0d 00 08 00 00 |mbers re|ad......|
|00004c90| 00 0a 45 78 61 6d 70 6c | 65 0d 00 21 00 00 00 06 |..Exampl|e..!....|
|00004ca0| 09 56 44 54 52 65 61 64 | 57 61 76 65 20 77 61 76 |.VDTRead|Wave wav|
|00004cb0| 65 31 2c 20 77 61 76 65 | 32 2c 20 77 61 76 65 33 |e1, wave|2, wave3|
|00004cc0| 0d 00 00 76 00 00 00 02 | 72 65 61 64 73 20 66 72 |...v....|reads fr|
|00004cd0| 6f 6d 20 74 68 65 20 73 | 65 72 69 61 6c 20 70 6f |om the s|erial po|
|00004ce0| 72 74 20 69 6e 74 6f 20 | 77 61 76 65 31 2c 20 77 |rt into |wave1, w|
|00004cf0| 61 76 65 32 20 61 6e 64 | 20 77 61 76 65 33 2e 20 |ave2 and| wave3. |
|00004d00| 49 74 20 72 65 61 64 73 | 20 75 6e 74 69 6c 20 69 |It reads| until i|
|00004d10| 74 20 68 61 73 20 70 75 | 74 20 61 20 76 61 6c 75 |t has pu|t a valu|
|00004d20| 65 20 69 6e 20 65 61 63 | 68 20 70 6f 69 6e 74 20 |e in eac|h point |
|00004d30| 6f 66 20 65 61 63 68 20 | 77 61 76 65 2e 0d 00 21 |of each |wave...!|
|00004d40| 00 00 00 01 56 44 54 20 | 62 69 6e 61 72 79 20 72 |....VDT |binary r|
|00004d50| 65 61 64 2f 77 72 69 74 | 65 20 6f 70 65 72 61 74 |ead/writ|e operat|
|00004d60| 69 6f 6e 73 0d 0d 00 d5 | 00 00 00 02 54 68 65 73 |ions....|....Thes|
|00004d70| 65 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 72 65 61 |e operat|ions rea|
|00004d80| 64 20 61 6e 64 20 77 72 | 69 74 65 20 62 69 6e 61 |d and wr|ite bina|
|00004d90| 72 79 20 64 61 74 61 20 | 74 6f 2f 66 72 6f 6d 20 |ry data |to/from |
|00004da0| 49 67 6f 72 20 76 61 72 | 69 61 62 6c 65 73 2c 20 |Igor var|iables, |
|00004db0| 73 74 72 69 6e 67 73 20 | 61 6e 64 20 77 61 76 65 |strings |and wave|
|00004dc0| 73 2e 20 54 68 65 20 62 | 69 6e 61 72 79 20 64 61 |s. The b|inary da|
|00004dd0| 74 61 20 63 61 6e 20 62 | 65 20 36 34 20 6f 72 20 |ta can b|e 64 or |
|00004de0| 33 32 20 62 69 74 20 49 | 45 45 45 20 66 6c 6f 61 |32 bit I|EEE floa|
|00004df0| 74 69 6e 67 20 70 6f 69 | 6e 74 2c 20 33 32 2c 20 |ting poi|nt, 32, |
|00004e00| 31 36 20 6f 72 20 38 20 | 62 69 74 20 73 69 67 6e |16 or 8 |bit sign|
|00004e10| 65 64 20 69 6e 74 65 67 | 65 72 2c 20 6f 72 20 33 |ed integ|er, or 3|
|00004e20| 32 2c 20 31 36 20 6f 72 | 20 38 20 62 69 74 20 75 |2, 16 or| 8 bit u|
|00004e30| 6e 73 69 67 6e 65 64 20 | 69 6e 74 65 67 65 72 2e |nsigned |integer.|
|00004e40| 0d 0d 00 3c 00 12 00 01 | 56 44 54 57 72 69 74 65 |...<....|VDTWrite|
|00004e50| 42 69 6e 61 72 79 20 5b | 2f 53 2f 57 2f 4c 5b 3d |Binary [|/S/W/L[=|
|00004e60| 6e 5d 2f 46 3d 6e 2f 42 | 2f 51 2f 4f 3d 6e 5d 20 |n]/F=n/B|/Q/O=n] |
|00004e70| 5b 61 72 67 2c 20 61 72 | 67 2c 20 61 72 67 20 2e |[arg, ar|g, arg .|
|00004e80| 2e 2e 5d 0d 00 0e ff ff | 00 00 ff ff 00 00 ff ff |..].....|........|
|00004e90| 00 00 00 00 00 00 00 5b | 00 00 00 02 74 72 61 6e |.......[|....tran|
|00004ea0| 73 6d 69 74 73 20 63 6f | 6e 74 65 6e 74 73 20 6f |smits co|ntents o|
|00004eb0| 66 20 74 68 65 20 61 72 | 67 75 6d 65 6e 74 20 6f |f the ar|gument o|
|00004ec0| 72 20 61 72 67 75 6d 65 | 6e 74 73 20 61 73 20 62 |r argume|nts as b|
|00004ed0| 69 6e 61 72 79 20 64 61 | 74 61 20 76 69 61 20 74 |inary da|ta via t|
|00004ee0| 68 65 20 73 65 72 69 61 | 6c 20 6f 75 74 70 75 74 |he seria|l output|
|00004ef0| 20 70 6f 72 74 2e 0d 00 | 00 19 00 00 00 02 53 75 | port...|......Su|
|00004f00| 70 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 56 44 |pplied b|y the VD|
|00004f10| 54 20 58 4f 50 2e 0d 00 | 00 06 00 00 00 0a 46 6c |T XOP...|......Fl|
|00004f20| 61 67 73 0d 00 71 00 00 | 00 03 2f 4f 3d 6e 09 6e |ags..q..|../O=n.n|
|00004f30| 20 69 73 20 61 20 74 69 | 6d 65 6f 75 74 20 76 61 | is a ti|meout va|
|00004f40| 6c 75 65 20 69 6e 20 73 | 65 63 6f 6e 64 73 2e 20 |lue in s|econds. |
|00004f50| 49 66 20 56 44 54 57 72 | 69 74 65 42 69 6e 61 72 |If VDTWr|iteBinar|
|00004f60| 79 20 63 61 6e d5 74 20 | 63 6f 6d 70 6c 65 74 65 |y can.t |complete|
|00004f70| 20 74 68 65 20 74 72 61 | 6e 73 6d 69 73 73 69 6f | the tra|nsmissio|
|00004f80| 6e 20 69 6e 20 6e 20 73 | 65 63 6f 6e 64 73 2c 20 |n in n s|econds, |
|00004f90| 69 74 20 61 62 6f 72 74 | 73 2e 0d 00 00 52 00 00 |it abort|s....R..|
|00004fa0| 00 03 2f 51 09 74 65 6c | 6c 73 20 56 44 54 57 72 |../Q.tel|ls VDTWr|
|00004fb0| 69 74 65 42 69 6e 61 72 | 79 20 74 68 61 74 20 79 |iteBinar|y that y|
|00004fc0| 6f 75 20 77 61 6e 74 20 | 6e 6f 20 65 72 72 6f 72 |ou want |no error|
|00004fd0| 20 6d 65 73 73 61 67 65 | 20 69 6e 20 74 68 65 20 | message| in the |
|00004fe0| 65 76 65 6e 74 20 6f 66 | 20 61 20 74 69 6d 65 6f |event of| a timeo|
|00004ff0| 75 74 2e 0d 00 6b 00 00 | 00 03 2f 53 20 09 73 70 |ut...k..|../S .sp|
|00005000| 65 63 69 66 69 65 73 20 | 74 68 61 74 20 74 68 65 |ecifies |that the|
|00005010| 20 61 72 67 75 6d 65 6e | 74 73 20 61 72 65 20 73 | argumen|ts are s|
|00005020| 74 72 69 6e 67 20 65 78 | 70 72 65 73 73 69 6f 6e |tring ex|pression|
|00005030| 73 2e 20 4f 6d 69 74 20 | 2f 53 20 69 66 20 74 68 |s. Omit |/S if th|
|00005040| 65 20 61 72 67 75 6d 65 | 6e 74 73 20 61 72 65 20 |e argume|nts are |
|00005050| 6e 75 6d 65 72 69 63 20 | 65 78 70 72 65 73 73 69 |numeric |expressi|
|00005060| 6f 6e 73 2e 0d 00 00 42 | 00 00 00 04 2f 46 3d 6e |ons....B|..../F=n|
|00005070| 09 73 70 65 63 69 66 69 | 65 73 20 74 68 65 20 66 |.specifi|es the f|
|00005080| 6f 72 6d 61 74 20 69 6e | 20 77 68 69 63 68 20 6e |ormat in| which n|
|00005090| 75 6d 62 65 72 73 20 61 | 72 65 20 74 6f 20 62 65 |umbers a|re to be|
|000050a0| 20 74 72 61 6e 73 6d 69 | 74 74 65 64 2e 0d 00 26 | transmi|tted...&|
|000050b0| 00 00 00 04 09 6e 3d 31 | 20 6d 65 61 6e 73 20 73 |.....n=1| means s|
|000050c0| 69 67 6e 65 64 20 69 6e | 74 65 67 65 72 20 20 20 |igned in|teger |
|000050d0| 28 64 65 66 61 75 6c 74 | 29 0d 00 1c 00 00 00 04 |(default|).......|
|000050e0| 09 6e 3d 32 20 6d 65 61 | 6e 73 20 75 6e 73 69 67 |.n=2 mea|ns unsig|
|000050f0| 6e 65 64 20 69 6e 74 65 | 67 65 72 0d 00 1f 00 00 |ned inte|ger.....|
|00005100| 00 03 09 6e 3d 33 20 6d | 65 61 6e 73 20 49 45 45 |...n=3 m|eans IEE|
|00005110| 45 20 66 6c 6f 61 74 69 | 6e 67 20 70 6f 69 6e 74 |E floati|ng point|
|00005120| 0d 00 00 3e 00 00 00 03 | 2f 57 09 73 70 65 63 69 |...>....|/W.speci|
|00005130| 66 69 65 73 20 74 68 61 | 74 20 6e 75 6d 62 65 72 |fies tha|t number|
|00005140| 73 20 61 72 65 20 74 6f | 20 62 65 20 74 72 61 6e |s are to| be tran|
|00005150| 73 6d 69 74 74 65 64 20 | 69 6e 20 74 77 6f 20 62 |smitted |in two b|
|00005160| 79 74 65 73 2e 0d 00 3f | 00 00 00 03 2f 4c 09 73 |ytes...?|..../L.s|
|00005170| 70 65 63 69 66 69 65 73 | 20 74 68 61 74 20 6e 75 |pecifies| that nu|
|00005180| 6d 62 65 72 73 20 61 72 | 65 20 74 6f 20 62 65 20 |mbers ar|e to be |
|00005190| 74 72 61 6e 73 6d 69 74 | 74 65 64 20 69 6e 20 66 |transmit|ted in f|
|000051a0| 6f 75 72 20 62 79 74 65 | 73 2e 0d 00 00 5c 00 00 |our byte|s....\..|
|000051b0| 00 03 2f 4c 3d 6e 09 73 | 70 65 63 69 66 69 65 73 |../L=n.s|pecifies|
|000051c0| 20 74 68 61 74 20 6e 75 | 6d 62 65 72 73 20 61 72 | that nu|mbers ar|
|000051d0| 65 20 74 6f 20 62 65 20 | 74 72 61 6e 73 6d 69 74 |e to be |transmit|
|000051e0| 74 65 64 20 69 6e 20 6e | 20 62 69 74 73 20 77 68 |ted in n| bits wh|
|000051f0| 65 72 65 20 6e 20 63 61 | 6e 20 62 65 20 38 2c 20 |ere n ca|n be 8, |
|00005200| 31 36 2c 20 33 32 20 6f | 72 20 36 34 2e 0d 00 4d |16, 32 o|r 64...M|
|00005210| 00 00 00 03 09 49 66 20 | 6e 65 69 74 68 65 72 20 |.....If |neither |
|00005220| 2f 57 20 6e 6f 72 20 2f | 4c 20 61 72 65 20 75 73 |/W nor /|L are us|
|00005230| 65 64 20 74 68 65 6e 20 | 6e 75 6d 62 65 72 73 20 |ed then |numbers |
|00005240| 61 72 65 20 74 72 61 6e | 73 6d 69 74 74 65 64 20 |are tran|smitted |
|00005250| 61 73 20 73 69 6e 67 6c | 65 20 62 79 74 65 73 2e |as singl|e bytes.|
|00005260| 0d 00 00 3f 00 00 00 03 | 2f 42 09 69 6e 64 69 63 |...?....|/B.indic|
|00005270| 61 74 65 73 20 74 68 61 | 74 20 62 79 74 65 73 20 |ates tha|t bytes |
|00005280| 61 72 65 20 74 6f 20 62 | 65 20 73 77 61 70 70 65 |are to b|e swappe|
|00005290| 64 20 62 65 66 6f 72 65 | 20 74 72 61 6e 73 6d 69 |d before| transmi|
|000052a0| 73 73 69 6f 6e 2e 0d 00 | 00 08 00 00 00 0a 44 65 |ssion...|......De|
|000052b0| 74 61 69 6c 73 0d 00 69 | 00 00 00 02 56 44 54 57 |tails..i|....VDTW|
|000052c0| 72 69 74 65 42 69 6e 61 | 72 79 20 73 65 74 73 20 |riteBina|ry sets |
|000052d0| 74 68 65 20 76 61 72 69 | 61 62 6c 65 20 56 5f 56 |the vari|able V_V|
|000052e0| 44 54 2c 20 61 66 74 65 | 72 20 63 72 65 61 74 69 |DT, afte|r creati|
|000052f0| 6e 67 20 69 74 20 69 66 | 20 6e 65 63 65 73 73 61 |ng it if| necessa|
|00005300| 72 79 2c 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |ry, to t|he numbe|
|00005310| 72 20 6f 66 20 20 69 74 | 65 6d 73 20 77 72 69 74 |r of it|ems writ|
|00005320| 74 65 6e 2e 0d 0d 00 09 | 00 00 00 0a 45 78 61 6d |ten.....|....Exam|
|00005330| 70 6c 65 73 0d 00 00 1a | 00 00 00 06 09 56 44 54 |ples....|.....VDT|
|00005340| 57 72 69 74 65 42 69 6e | 61 72 79 2f 53 20 22 48 |WriteBin|ary/S "H|
|00005350| 65 6c 6c 6f 22 0d 00 10 | 00 00 00 02 77 72 69 74 |ello"...|....writ|
|00005360| 65 73 20 22 48 65 6c 6c | 6f 22 2e 0d 00 20 00 00 |es "Hell|o"... ..|
|00005370| 00 06 09 56 44 54 57 72 | 69 74 65 42 69 6e 61 72 |...VDTWr|iteBinar|
|00005380| 79 2f 57 2f 46 3d 31 20 | 31 32 33 2c 20 2d 34 35 |y/W/F=1 |123, -45|
|00005390| 36 0d 00 76 00 00 00 02 | 77 72 69 74 65 73 20 31 |6..v....|writes 1|
|000053a0| 32 33 20 61 6e 64 20 34 | 35 36 20 61 73 20 74 77 |23 and 4|56 as tw|
|000053b0| 6f 20 62 79 74 65 20 73 | 69 67 6e 65 64 20 69 6e |o byte s|igned in|
|000053c0| 74 65 67 65 72 20 62 69 | 6e 61 72 79 20 6e 75 6d |teger bi|nary num|
|000053d0| 62 65 72 73 2e 20 54 68 | 65 20 68 69 67 68 20 6f |bers. Th|e high o|
|000053e0| 72 64 65 72 20 62 79 74 | 65 20 6f 66 20 65 61 63 |rder byt|e of eac|
|000053f0| 68 20 6e 75 6d 62 65 72 | 20 69 73 20 74 72 61 6e |h number| is tran|
|00005400| 73 66 65 72 65 64 20 66 | 69 72 73 74 2e 0d 00 28 |sfered f|irst...(|
|00005410| 00 00 00 06 09 56 44 54 | 57 72 69 74 65 42 69 6e |.....VDT|WriteBin|
|00005420| 61 72 79 2f 4c 3d 33 32 | 2f 46 3d 33 2f 42 20 20 |ary/L=32|/F=3/B |
|00005430| 32 2a 50 49 2c 20 2d 50 | 49 2f 32 0d 00 df 00 00 |2*PI, -P|I/2.....|
|00005440| 00 02 77 72 69 74 65 73 | 20 32 2a 50 49 20 61 6e |..writes| 2*PI an|
|00005450| 64 20 2d 50 49 2f 32 20 | 61 73 20 66 6f 75 72 20 |d -PI/2 |as four |
|00005460| 62 79 74 65 20 49 45 45 | 45 20 66 6c 6f 61 74 69 |byte IEE|E floati|
|00005470| 6e 67 20 70 6f 69 6e 74 | 20 62 69 6e 61 72 79 20 |ng point| binary |
|00005480| 6e 75 6d 62 65 72 73 2e | 20 4e 6f 72 6d 61 6c 6c |numbers.| Normall|
|00005490| 79 2c 20 74 68 65 20 68 | 69 67 68 20 6f 72 64 65 |y, the h|igh orde|
|000054a0| 72 20 62 79 74 65 20 6f | 66 20 65 61 63 68 20 6e |r byte o|f each n|
|000054b0| 75 6d 62 65 72 20 77 6f | 75 6c 64 20 62 65 20 74 |umber wo|uld be t|
|000054c0| 72 61 6e 73 66 65 72 65 | 64 20 66 69 72 73 74 20 |ransfere|d first |
|000054d0| 62 75 74 20 62 65 63 61 | 75 73 65 20 2f 42 20 69 |but beca|use /B i|
|000054e0| 73 20 75 73 65 64 2c 20 | 69 6e 20 74 68 69 73 20 |s used, |in this |
|000054f0| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 6c 6f 77 |example,| the low|
|00005500| 20 6f 72 64 65 72 20 62 | 79 74 65 20 69 73 20 74 | order b|yte is t|
|00005510| 72 61 6e 73 66 65 72 65 | 64 20 66 69 72 73 74 2e |ransfere|d first.|
|00005520| 0d 00 00 46 00 12 00 01 | 56 44 54 52 65 61 64 42 |...F....|VDTReadB|
|00005530| 69 6e 61 72 79 20 5b 2f | 53 3d 6e 2f 54 3d 73 2f |inary [/|S=n/T=s/|
|00005540| 57 2f 4c 5b 3d 6e 5d 2f | 46 3d 6e 2f 42 2f 4f 3d |W/L[=n]/|F=n/B/O=|
|00005550| 6e 2f 51 2f 59 3d 7b 6e | 31 2c 6e 32 7d 5d 20 61 |n/Q/Y={n|1,n2}] a|
|00005560| 72 67 5b 2c 20 61 72 67 | 20 2e 2e 2e 5d 0d 00 0d |rg[, arg| ...]...|
|00005570| ff ff 00 00 ff ff 00 00 | ff ff 00 00 00 00 00 00 |........|........|
|00005580| 00 4d 00 00 00 02 72 65 | 61 64 73 20 62 69 6e 61 |.M....re|ads bina|
|00005590| 72 79 20 64 61 74 61 20 | 66 72 6f 6d 20 74 68 65 |ry data |from the|
|000055a0| 20 73 65 72 69 61 6c 20 | 69 6e 70 75 74 20 70 6f | serial |input po|
|000055b0| 72 74 20 69 6e 74 6f 20 | 74 68 65 20 61 72 67 75 |rt into |the argu|
|000055c0| 6d 65 6e 74 20 6f 72 20 | 61 72 67 75 6d 65 6e 74 |ment or |argument|
|000055d0| 73 2e 0d 00 00 19 00 00 | 00 02 53 75 70 70 6c 69 |s.......|..Suppli|
|000055e0| 65 64 20 62 79 20 74 68 | 65 20 56 44 54 20 58 4f |ed by th|e VDT XO|
|000055f0| 50 2e 0d 00 00 06 00 00 | 00 0a 46 6c 61 67 73 0d |P.......|..Flags.|
|00005600| 00 c1 00 00 00 03 2f 4f | 3d 6e 09 6e 20 69 73 20 |....../O|=n.n is |
|00005610| 61 20 74 69 6d 65 6f 75 | 74 20 76 61 6c 75 65 20 |a timeou|t value |
|00005620| 69 6e 20 73 65 63 6f 6e | 64 73 2e 20 49 66 20 56 |in secon|ds. If V|
|00005630| 44 54 52 65 61 64 42 69 | 6e 61 72 79 20 63 61 6e |DTReadBi|nary can|
|00005640| d5 74 20 63 6f 6d 70 6c | 65 74 65 20 74 68 65 20 |.t compl|ete the |
|00005650| 74 72 61 6e 73 6d 69 73 | 73 69 6f 6e 20 69 6e 20 |transmis|sion in |
|00005660| 6e 20 73 65 63 6f 6e 64 | 73 2c 20 69 74 20 61 62 |n second|s, it ab|
|00005670| 6f 72 74 73 2e 20 6e 20 | 69 73 20 74 68 65 20 74 |orts. n |is the t|
|00005680| 69 6d 65 20 66 6f 72 20 | 74 68 65 20 65 6e 74 69 |ime for |the enti|
|00005690| 72 65 20 74 72 61 6e 73 | 66 65 72 20 6f 72 20 66 |re trans|fer or f|
|000056a0| 6f 72 20 61 20 73 69 6e | 67 6c 65 20 63 68 61 72 |or a sin|gle char|
|000056b0| 61 63 74 65 72 20 69 66 | 20 2f 54 3d 73 20 69 73 |acter if| /T=s is|
|000056c0| 20 75 73 65 64 2e 0d 00 | 00 51 00 00 00 03 2f 51 | used...|.Q..../Q|
|000056d0| 09 74 65 6c 6c 73 20 56 | 44 54 52 65 61 64 42 69 |.tells V|DTReadBi|
|000056e0| 6e 61 72 79 20 74 68 61 | 74 20 79 6f 75 20 77 61 |nary tha|t you wa|
|000056f0| 6e 74 20 6e 6f 20 65 72 | 72 6f 72 20 6d 65 73 73 |nt no er|ror mess|
|00005700| 61 67 65 20 69 6e 20 74 | 68 65 20 65 76 65 6e 74 |age in t|he event|
|00005710| 20 6f 66 20 61 20 74 69 | 6d 65 6f 75 74 2e 0d 0d | of a ti|meout...|
|00005720| 00 b8 00 00 00 03 2f 53 | 3d 6e 09 73 70 65 63 69 |....../S|=n.speci|
|00005730| 66 69 65 73 20 74 68 61 | 74 20 74 68 65 20 61 72 |fies tha|t the ar|
|00005740| 67 75 6d 65 6e 74 73 20 | 61 72 65 20 73 74 72 69 |guments |are stri|
|00005750| 6e 67 20 76 61 72 69 61 | 62 6c 65 73 20 61 6e 64 |ng varia|bles and|
|00005760| 20 62 79 74 65 73 20 61 | 72 65 20 72 65 61 64 20 | bytes a|re read |
|00005770| 75 70 20 74 6f 20 6e 20 | 62 79 74 65 73 20 6f 72 |up to n |bytes or|
|00005780| 20 75 6e 74 69 6c 20 61 | 20 62 79 74 65 20 73 70 | until a| byte sp|
|00005790| 65 63 69 66 69 65 64 20 | 62 79 20 2f 54 3d 73 20 |ecified |by /T=s |
|000057a0| 69 73 20 72 65 61 64 2e | 20 4f 6d 69 74 20 2f 53 |is read.| Omit /S|
|000057b0| 3d 73 20 69 66 20 79 6f | 75 20 61 72 65 20 72 65 |=s if yo|u are re|
|000057c0| 61 64 69 6e 67 20 69 6e | 74 6f 20 6e 75 6d 65 72 |ading in|to numer|
|000057d0| 69 63 20 76 61 72 69 61 | 62 6c 65 73 2e 0d 00 c5 |ic varia|bles....|
|000057e0| 00 00 00 03 09 52 65 61 | 64 69 6e 67 20 62 69 6e |.....Rea|ding bin|
|000057f0| 61 72 79 20 64 61 74 61 | 20 69 6e 74 6f 20 73 74 |ary data| into st|
|00005800| 72 69 6e 67 73 20 69 73 | 20 75 73 65 66 75 6c 20 |rings is| useful |
|00005810| 6d 6f 73 74 6c 79 20 66 | 6f 72 20 73 6b 69 70 70 |mostly f|or skipp|
|00005820| 69 6e 67 20 61 20 6e 75 | 6d 62 65 72 20 6f 66 20 |ing a nu|mber of |
|00005830| 62 79 74 65 73 20 6f 72 | 20 75 6e 74 69 6c 20 61 |bytes or| until a|
|00005840| 20 63 65 72 74 61 69 6e | 20 62 79 74 65 20 69 73 | certain| byte is|
|00005850| 20 72 65 63 65 69 76 65 | 64 2e 20 54 6f 20 72 65 | receive|d. To re|
|00005860| 61 64 20 61 63 74 75 61 | 6c 20 41 53 43 49 49 20 |ad actua|l ASCII |
|00005870| 64 61 74 61 20 69 6e 74 | 6f 20 73 74 72 69 6e 67 |data int|o string|
|00005880| 73 2c 20 75 73 65 20 56 | 44 54 52 65 61 64 20 69 |s, use V|DTRead i|
|00005890| 6e 73 74 65 61 64 20 6f | 66 20 56 44 54 52 65 61 |nstead o|f VDTRea|
|000058a0| 64 42 69 6e 61 72 79 2e | 0d 00 00 8f 00 00 00 03 |dBinary.|........|
|000058b0| 2f 54 3d 73 09 73 20 69 | 73 20 61 20 73 74 72 69 |/T=s.s i|s a stri|
|000058c0| 6e 67 20 65 78 70 72 65 | 73 73 69 6f 6e 20 74 68 |ng expre|ssion th|
|000058d0| 61 74 20 73 70 65 63 69 | 66 69 65 73 20 61 20 74 |at speci|fies a t|
|000058e0| 65 72 6d 69 6e 61 74 6f | 72 20 62 79 74 65 20 77 |erminato|r byte w|
|000058f0| 68 65 6e 20 72 65 61 64 | 69 6e 67 20 62 79 74 65 |hen read|ing byte|
|00005900| 73 20 69 6e 74 6f 20 73 | 74 72 69 6e 67 73 2e 20 |s into s|trings. |
|00005910| 49 66 20 6e 6f 20 2f 54 | 20 69 73 20 75 73 65 64 |If no /T| is used|
|00005920| 2c 20 74 68 65 72 65 20 | 69 73 20 6e 6f 20 74 65 |, there |is no te|
|00005930| 72 6d 69 6e 61 74 6f 72 | 20 62 79 74 65 2e 0d 00 |rminator| byte...|
|00005940| 00 3f 00 00 00 04 2f 46 | 3d 6e 09 73 70 65 63 69 |.?..../F|=n.speci|
|00005950| 66 69 65 73 20 74 68 65 | 20 66 6f 72 6d 61 74 20 |fies the| format |
|00005960| 69 6e 20 77 68 69 63 68 | 20 6e 75 6d 62 65 72 73 |in which| numbers|
|00005970| 20 61 72 65 20 74 6f 20 | 62 65 20 72 65 63 65 69 | are to |be recei|
|00005980| 76 65 64 2e 0d 00 00 24 | 00 00 00 04 09 6e 3d 31 |ved....$|.....n=1|
|00005990| 20 6d 65 61 6e 73 20 73 | 69 67 6e 65 64 20 69 6e | means s|igned in|
|000059a0| 74 65 67 65 72 20 28 64 | 65 66 61 75 6c 74 29 0d |teger (d|efault).|
|000059b0| 00 1c 00 00 00 04 09 6e | 3d 32 20 6d 65 61 6e 73 |.......n|=2 means|
|000059c0| 20 75 6e 73 69 67 6e 65 | 64 20 69 6e 74 65 67 65 | unsigne|d intege|
|000059d0| 72 0d 00 1f 00 00 00 03 | 09 6e 3d 33 20 6d 65 61 |r.......|.n=3 mea|
|000059e0| 6e 73 20 49 45 45 45 20 | 66 6c 6f 61 74 69 6e 67 |ns IEEE |floating|
|000059f0| 20 70 6f 69 6e 74 0d 00 | 00 3b 00 00 00 03 2f 57 | point..|.;..../W|
|00005a00| 09 73 70 65 63 69 66 69 | 65 73 20 74 68 61 74 20 |.specifi|es that |
|00005a10| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 74 6f 20 62 |numbers |are to b|
|00005a20| 65 20 72 65 63 65 69 76 | 65 64 20 69 6e 20 74 77 |e receiv|ed in tw|
|00005a30| 6f 20 62 79 74 65 73 2e | 0d 00 00 3c 00 00 00 03 |o bytes.|...<....|
|00005a40| 2f 4c 09 73 70 65 63 69 | 66 69 65 73 20 74 68 61 |/L.speci|fies tha|
|00005a50| 74 20 6e 75 6d 62 65 72 | 73 20 61 72 65 20 74 6f |t number|s are to|
|00005a60| 20 62 65 20 72 65 63 65 | 69 76 65 64 20 69 6e 20 | be rece|ived in |
|00005a70| 66 6f 75 72 20 62 79 74 | 65 73 2e 0d 00 59 00 00 |four byt|es...Y..|
|00005a80| 00 03 2f 4c 3d 6e 09 73 | 70 65 63 69 66 69 65 73 |../L=n.s|pecifies|
|00005a90| 20 74 68 61 74 20 6e 75 | 6d 62 65 72 73 20 61 72 | that nu|mbers ar|
|00005aa0| 65 20 74 6f 20 62 65 20 | 72 65 63 65 69 76 65 64 |e to be |received|
|00005ab0| 20 69 6e 20 6e 20 62 69 | 74 73 20 77 68 65 72 65 | in n bi|ts where|
|00005ac0| 20 6e 20 63 61 6e 20 62 | 65 20 38 2c 20 31 36 2c | n can b|e 8, 16,|
|00005ad0| 20 33 32 20 6f 72 20 36 | 34 2e 0d 00 00 4a 00 00 | 32 or 6|4....J..|
|00005ae0| 00 03 09 49 66 20 6e 65 | 69 74 68 65 72 20 2f 57 |...If ne|ither /W|
|00005af0| 20 6e 6f 72 20 2f 4c 20 | 61 72 65 20 75 73 65 64 | nor /L |are used|
|00005b00| 20 74 68 65 6e 20 6e 75 | 6d 62 65 72 73 20 61 72 | then nu|mbers ar|
|00005b10| 65 20 72 65 63 65 69 76 | 65 64 20 61 73 20 73 69 |e receiv|ed as si|
|00005b20| 6e 67 6c 65 20 62 79 74 | 65 73 2e 0d 00 40 00 00 |ngle byt|es...@..|
|00005b30| 00 03 2f 42 09 69 6e 64 | 69 63 61 74 65 73 20 74 |../B.ind|icates t|
|00005b40| 68 61 74 20 62 79 74 65 | 73 20 61 72 65 20 74 6f |hat byte|s are to|
|00005b50| 20 62 65 20 73 77 61 70 | 70 65 64 20 61 66 74 65 | be swap|ped afte|
|00005b60| 72 20 62 65 69 6e 67 20 | 72 65 63 65 69 76 65 64 |r being |received|
|00005b70| 2e 0d 00 8d 00 00 00 03 | 2f 59 3d 7b 6e 31 2c 6e |........|/Y={n1,n|
|00005b80| 32 7d 09 6e 31 20 69 73 | 20 6f 66 66 73 65 74 2c |2}.n1 is| offset,|
|00005b90| 20 6e 32 20 69 73 20 6d | 75 6c 74 69 70 6c 69 65 | n2 is m|ultiplie|
|00005ba0| 72 2e 20 55 73 65 20 2f | 59 20 74 6f 20 73 63 61 |r. Use /|Y to sca|
|00005bb0| 6c 65 20 69 6e 74 65 67 | 65 72 20 64 61 74 61 20 |le integ|er data |
|00005bc0| 69 6e 74 6f 20 72 65 61 | 6c 20 6e 75 6d 62 65 72 |into rea|l number|
|00005bd0| 73 2e 20 6f 75 74 70 75 | 74 20 64 61 74 61 20 3d |s. outpu|t data =|
|00005be0| 20 28 69 6e 70 75 74 20 | 64 61 74 61 20 2b 20 6f | (input |data + o|
|00005bf0| 66 66 73 65 74 29 20 2a | 20 6d 75 6c 74 69 70 6c |ffset) *| multipl|
|00005c00| 69 65 72 2e 0d 0d 00 08 | 00 00 00 0a 44 65 74 61 |ier.....|....Deta|
|00005c10| 69 6c 73 0d 00 65 00 00 | 00 02 56 44 54 52 65 61 |ils..e..|..VDTRea|
|00005c20| 64 42 69 6e 61 72 79 20 | 73 65 74 73 20 74 68 65 |dBinary |sets the|
|00005c30| 20 76 61 72 69 61 62 6c | 65 20 56 5f 56 44 54 2c | variabl|e V_VDT,|
|00005c40| 20 61 66 74 65 72 20 63 | 72 65 61 74 69 6e 67 20 | after c|reating |
|00005c50| 69 74 20 69 66 20 6e 65 | 63 65 73 73 61 72 79 2c |it if ne|cessary,|
|00005c60| 20 74 6f 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f | to the |number o|
|00005c70| 66 20 20 69 74 65 6d 73 | 20 72 65 61 64 2e 0d 00 |f items| read...|
|00005c80| 00 89 00 00 00 07 54 68 | 65 72 65 20 69 73 20 61 |......Th|ere is a|
|00005c90| 20 70 72 6f 62 6c 65 6d | 20 69 66 20 79 6f 75 20 | problem| if you |
|00005ca0| 72 65 61 64 20 6e 75 6c | 6c 20 63 68 61 72 61 63 |read nul|l charac|
|00005cb0| 74 65 72 73 20 69 6e 74 | 6f 20 61 20 73 74 72 69 |ters int|o a stri|
|00005cc0| 6e 67 20 76 61 72 69 61 | 62 6c 65 2e 20 54 68 69 |ng varia|ble. Thi|
|00005cd0| 73 20 69 73 20 64 65 73 | 63 72 69 62 65 64 20 69 |s is des|cribed i|
|00005ce0| 6e 20 74 68 65 20 64 6f | 63 75 6d 65 6e 74 61 74 |n the do|cumentat|
|00005cf0| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 56 44 54 52 |ion for |the VDTR|
|00005d00| 65 61 64 20 6f 70 65 72 | 61 74 69 6f 6e 2e 0d 00 |ead oper|ation...|
|00005d10| 00 01 00 00 00 05 0d 00 | 00 09 00 00 00 0a 45 78 |........|......Ex|
|00005d20| 61 6d 70 6c 65 73 0d 00 | 00 19 00 00 00 06 09 56 |amples..|.......V|
|00005d30| 44 54 52 65 61 64 42 69 | 6e 61 72 79 2f 53 3d 31 |DTReadBi|nary/S=1|
|00005d40| 30 20 73 74 72 31 0d ff | 00 2a 00 00 00 02 72 65 |0 str1..|.*....re|
|00005d50| 61 64 73 20 31 30 20 62 | 79 74 65 73 20 69 6e 74 |ads 10 b|ytes int|
|00005d60| 6f 20 73 74 72 69 6e 67 | 20 76 61 72 69 61 62 6c |o string| variabl|
|00005d70| 65 20 73 74 72 31 2e 0d | 00 1c 00 00 00 06 09 56 |e str1..|.......V|
|00005d80| 44 54 52 65 61 64 42 69 | 6e 61 72 79 2f 57 2f 46 |DTReadBi|nary/W/F|
|00005d90| 3d 31 20 4b 30 2c 20 4b | 31 0d 00 4b 00 00 00 02 |=1 K0, K|1..K....|
|00005da0| 72 65 61 64 73 20 74 77 | 6f 20 62 79 74 65 20 73 |reads tw|o byte s|
|00005db0| 69 67 6e 65 64 20 69 6e | 74 65 67 65 72 20 62 69 |igned in|teger bi|
|00005dc0| 6e 61 72 79 20 6e 75 6d | 62 65 72 73 20 69 6e 74 |nary num|bers int|
|00005dd0| 6f 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 73 20 |o the va|riables |
|00005de0| 4b 30 20 61 6e 64 20 4b | 31 2e 0d 00 00 22 00 00 |K0 and K|1...."..|
|00005df0| 00 06 09 56 44 54 52 65 | 61 64 42 69 6e 61 72 79 |...VDTRe|adBinary|
|00005e00| 2f 4c 3d 33 32 2f 46 3d | 33 2f 42 20 20 4b 30 2c |/L=32/F=|3/B K0,|
|00005e10| 20 4b 31 0d 00 d7 00 00 | 00 02 72 65 61 64 73 20 | K1.....|..reads |
|00005e20| 66 6f 75 72 20 62 79 74 | 65 20 49 45 45 45 20 66 |four byt|e IEEE f|
|00005e30| 6c 6f 61 74 69 6e 67 20 | 70 6f 69 6e 74 20 62 69 |loating |point bi|
|00005e40| 6e 61 72 79 20 6e 75 6d | 62 65 72 73 20 69 6e 74 |nary num|bers int|
|00005e50| 6f 20 4b 30 20 61 6e 64 | 20 4b 31 2e 20 4e 6f 72 |o K0 and| K1. Nor|
|00005e60| 6d 61 6c 6c 79 2c 20 74 | 68 65 20 68 69 67 68 20 |mally, t|he high |
|00005e70| 6f 72 64 65 72 20 62 79 | 74 65 20 6f 66 20 65 61 |order by|te of ea|
|00005e80| 63 68 20 6e 75 6d 62 65 | 72 20 77 6f 75 6c 64 20 |ch numbe|r would |
|00005e90| 62 65 20 65 78 70 65 63 | 74 65 64 20 66 69 72 73 |be expec|ted firs|
|00005ea0| 74 20 62 75 74 20 62 65 | 63 61 75 73 65 20 2f 42 |t but be|cause /B|
|00005eb0| 20 69 73 20 75 73 65 64 | 2c 20 69 6e 20 74 68 69 | is used|, in thi|
|00005ec0| 73 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 6c |s exampl|e, the l|
|00005ed0| 6f 77 20 6f 72 64 65 72 | 20 62 79 74 65 20 69 73 |ow order| byte is|
|00005ee0| 20 65 78 70 65 63 74 65 | 64 20 66 69 72 73 74 2e | expecte|d first.|
|00005ef0| 0d 0d 00 2f 00 12 00 01 | 56 44 54 57 72 69 74 65 |.../....|VDTWrite|
|00005f00| 42 69 6e 61 72 79 57 61 | 76 65 20 5b 2f 57 2f 4c |BinaryWa|ve [/W/L|
|00005f10| 5b 3d 6c 5d 2f 46 3d 6e | 2f 42 2f 51 5d 20 77 61 |[=l]/F=n|/B/Q] wa|
|00005f20| 76 65 6c 69 73 74 0d 00 | 00 12 ff ff 00 00 ff ff |velist..|........|
|00005f30| 00 00 ff ff 00 00 00 00 | 00 00 00 57 00 00 00 02 |........|...W....|
|00005f40| 77 72 69 74 65 73 20 62 | 69 6e 61 72 79 20 64 61 |writes b|inary da|
|00005f50| 74 61 20 66 72 6f 6d 20 | 74 68 65 20 6e 75 6d 65 |ta from |the nume|
|00005f60| 72 69 63 20 77 61 76 65 | 73 20 6e 61 6d 65 64 20 |ric wave|s named |
|00005f70| 69 6e 20 77 61 76 65 6c | 69 73 74 20 74 6f 20 74 |in wavel|ist to t|
|00005f80| 68 65 20 73 65 72 69 61 | 6c 20 6f 75 74 70 75 74 |he seria|l output|
|00005f90| 20 70 6f 72 74 2e 0d 00 | 00 19 00 00 00 02 53 75 | port...|......Su|
|00005fa0| 70 70 6c 69 65 64 20 62 | 79 20 74 68 65 20 56 44 |pplied b|y the VD|
|00005fb0| 54 20 58 4f 50 2e 0d 00 | 00 08 00 00 00 0a 44 65 |T XOP...|......De|
|00005fc0| 74 61 69 6c 73 0d 00 3c | 00 00 00 02 54 68 65 20 |tails..<|....The |
|00005fd0| 77 61 76 65 73 20 63 61 | 6e 20 62 65 20 6f 66 20 |waves ca|n be of |
|00005fe0| 61 6e 79 20 6e 75 6d 65 | 72 69 63 20 64 61 74 61 |any nume|ric data|
|00005ff0| 20 74 79 70 65 2c 20 72 | 65 61 6c 20 6f 72 20 63 | type, r|eal or c|
|00006000| 6f 6d 70 6c 65 78 2e 0d | 00 3f 00 00 00 02 54 68 |omplex..|.?....Th|
|00006010| 65 20 6d 65 61 6e 69 6e | 67 73 20 6f 66 20 74 68 |e meanin|gs of th|
|00006020| 65 20 66 6c 61 67 73 20 | 61 72 65 20 61 73 20 64 |e flags |are as d|
|00006030| 65 73 63 72 69 62 65 64 | 20 66 6f 72 20 56 44 54 |escribed| for VDT|
|00006040| 57 72 69 74 65 42 69 6e | 61 72 79 2e 0d 00 00 7a |WriteBin|ary....z|
|00006050| 00 00 00 02 56 44 54 57 | 72 69 74 65 42 69 6e 61 |....VDTW|riteBina|
|00006060| 72 79 57 61 76 65 20 73 | 65 74 73 20 74 68 65 20 |ryWave s|ets the |
|00006070| 76 61 72 69 61 62 6c 65 | 20 56 5f 56 44 54 2c 20 |variable| V_VDT, |
|00006080| 61 66 74 65 72 20 63 72 | 65 61 74 69 6e 67 20 69 |after cr|eating i|
|00006090| 74 20 69 66 20 6e 65 63 | 65 73 73 61 72 79 2c 20 |t if nec|essary, |
|000060a0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|000060b0| 20 20 77 61 76 65 73 20 | 28 6e 6f 74 20 70 6f 69 | waves |(not poi|
|000060c0| 6e 74 73 29 20 77 72 69 | 74 74 65 6e 2e 0d 00 09 |nts) wri|tten....|
|000060d0| 00 00 00 0a 45 78 61 6d | 70 6c 65 73 0d 00 00 20 |....Exam|ples... |
|000060e0| 00 00 00 06 09 56 44 54 | 57 72 69 74 65 42 69 6e |.....VDT|WriteBin|
|000060f0| 61 72 79 57 61 76 65 2f | 57 2f 46 3d 31 20 77 61 |aryWave/|W/F=1 wa|
|00006100| 76 65 30 0d 00 47 00 00 | 00 02 77 72 69 74 65 73 |ve0..G..|..writes|
|00006110| 20 65 61 63 68 20 70 6f | 69 6e 74 20 6f 66 20 77 | each po|int of w|
|00006120| 61 76 65 30 20 61 73 20 | 61 20 74 77 6f 20 62 79 |ave0 as |a two by|
|00006130| 74 65 20 73 69 67 6e 65 | 64 20 69 6e 74 65 67 65 |te signe|d intege|
|00006140| 72 20 62 69 6e 61 72 79 | 20 6e 75 6d 62 65 72 2e |r binary| number.|
|00006150| 0d 00 00 2e 00 00 00 06 | 09 56 44 54 57 72 69 74 |........|.VDTWrit|
|00006160| 65 42 69 6e 61 72 79 57 | 61 76 65 2f 4c 2f 46 3d |eBinaryW|ave/L/F=|
|00006170| 31 20 77 61 76 65 30 2c | 20 77 61 76 65 31 2c 20 |1 wave0,| wave1, |
|00006180| 77 61 76 65 32 0d 00 aa | 00 00 00 02 77 72 69 74 |wave2...|....writ|
|00006190| 65 73 20 65 61 63 68 20 | 70 6f 69 6e 74 20 6f 66 |es each |point of|
|000061a0| 20 65 61 63 68 20 77 61 | 76 65 20 61 73 20 61 20 | each wa|ve as a |
|000061b0| 66 6f 75 72 20 62 79 74 | 65 20 73 69 67 6e 65 64 |four byt|e signed|
|000061c0| 20 69 6e 74 65 67 65 72 | 20 62 69 6e 61 72 79 20 | integer| binary |
|000061d0| 6e 75 6d 62 65 72 2e 20 | 45 61 63 68 20 70 6f 69 |number. |Each poi|
|000061e0| 6e 74 20 6f 66 20 77 61 | 76 65 30 20 69 73 20 74 |nt of wa|ve0 is t|
|000061f0| 72 61 6e 73 6d 69 74 74 | 65 64 20 66 69 72 73 74 |ransmitt|ed first|
|00006200| 2c 20 74 68 65 6e 20 65 | 61 63 68 20 70 6f 69 6e |, then e|ach poin|
|00006210| 74 20 6f 66 20 77 61 76 | 65 31 2c 20 74 68 65 6e |t of wav|e1, then|
|00006220| 20 65 61 63 68 20 70 6f | 69 6e 74 20 6f 66 20 77 | each po|int of w|
|00006230| 61 76 65 32 2e 0d 00 25 | 00 00 00 06 09 56 44 54 |ave2...%|.....VDT|
|00006240| 57 72 69 74 65 42 69 6e | 61 72 79 57 61 76 65 2f |WriteBin|aryWave/|
|00006250| 4c 3d 33 32 2f 46 3d 33 | 2f 42 20 77 61 76 65 30 |L=32/F=3|/B wave0|
|00006260| 0d 00 00 94 00 00 00 02 | 77 72 69 74 65 73 20 65 |........|writes e|
|00006270| 61 63 68 20 70 6f 69 6e | 74 20 6f 66 20 77 61 76 |ach poin|t of wav|
|00006280| 65 30 20 61 73 20 61 20 | 66 6f 75 72 20 62 79 74 |e0 as a |four byt|
|00006290| 65 20 49 45 45 45 20 66 | 6c 6f 61 74 69 6e 67 20 |e IEEE f|loating |
|000062a0| 70 6f 69 6e 74 20 62 69 | 6e 61 72 79 20 6e 75 6d |point bi|nary num|
|000062b0| 62 65 72 2e 20 42 65 63 | 61 75 73 65 20 2f 42 20 |ber. Bec|ause /B |
|000062c0| 69 73 20 75 73 65 64 20 | 74 68 65 20 6c 6f 77 20 |is used |the low |
|000062d0| 6f 72 64 65 72 20 62 79 | 74 65 20 6f 66 20 65 61 |order by|te of ea|
|000062e0| 63 68 20 70 6f 69 6e 74 | 20 69 73 20 77 72 69 74 |ch point| is writ|
|000062f0| 74 65 6e 20 66 69 72 73 | 74 2e 09 0d 00 38 00 12 |ten firs|t....8..|
|00006300| 00 01 56 44 54 52 65 61 | 64 42 69 6e 61 72 79 57 |..VDTRea|dBinaryW|
|00006310| 61 76 65 20 5b 2f 57 2f | 4c 5b 3d 6e 5d 2f 46 3d |ave [/W/|L[=n]/F=|
|00006320| 6e 2f 42 2f 51 2f 59 3d | 7b 6e 31 2c 6e 32 7d 5d |n/B/Q/Y=|{n1,n2}]|
|00006330| 20 77 61 76 65 6c 69 73 | 74 0d 00 11 ff ff 00 00 | wavelis|t.......|
|00006340| ff ff 00 00 ff ff 00 00 | 00 00 00 00 00 53 00 00 |........|.....S..|
|00006350| 00 02 72 65 61 64 73 20 | 62 69 6e 61 72 79 20 64 |..reads |binary d|
|00006360| 61 74 61 20 66 72 6f 6d | 20 74 68 65 20 73 65 72 |ata from| the ser|
|00006370| 69 61 6c 20 69 6e 70 75 | 74 20 70 6f 72 74 20 69 |ial inpu|t port i|
|00006380| 6e 74 6f 20 74 68 65 20 | 6e 61 6d 65 64 20 6e 75 |nto the |named nu|
|00006390| 6d 65 72 69 63 20 77 61 | 76 65 20 6f 72 20 77 61 |meric wa|ve or wa|
|000063a0| 76 65 73 2e 0d 00 00 19 | 00 00 00 02 53 75 70 70 |ves.....|....Supp|
|000063b0| 6c 69 65 64 20 62 79 20 | 74 68 65 20 56 44 54 20 |lied by |the VDT |
|000063c0| 58 4f 50 2e 0d 00 00 08 | 00 00 00 0a 44 65 74 61 |XOP.....|....Deta|
|000063d0| 69 6c 73 0d 00 3c 00 00 | 00 02 54 68 65 20 77 61 |ils..<..|..The wa|
|000063e0| 76 65 73 20 63 61 6e 20 | 62 65 20 6f 66 20 61 6e |ves can |be of an|
|000063f0| 79 20 6e 75 6d 65 72 69 | 63 20 64 61 74 61 20 74 |y numeri|c data t|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.